CB API missing transcationType from docs?

2 replies
Hey;

According to CB docs, the api can sends one of these:

The transaction type: SALE, SALE-RB, BILL, RFND, RFND-RB, CANCEL-REBILL, TEST or TEST_SALE.

It's nice and clear.

Now it gets hairy where you wanna see the transcationType for recurring payments. On the other page of the doc they say:

Sale: A sale transaction
Sale-RB: A sale transaction for the initial sale of a recurring billing product.

But none of these are in the api (items I listed above)!

My questions are:

1 - What is the "transactionType" for a successful payment on a first payment of a recurring product? Sale-RB?

2 - Does clickbank call my script after x days?

3 - What is the "transactionType" for a successful 2nd payment on a recurring product?

4 - What is the "transactionType" for a failure 2nd payment on a recurring product?

Cheers.
#api #docs #missing #transcationtype
  • Profile picture of the author ClickBank
    Hi George Lukas,

    I may be able to answer your questions.

    1. Sale-RB is the initial purchase of a subscription. The subsequent rebill payments are BILL.
    2. Our Instant Notification system is a realtime event system. As soon as we process those subscription payments, we send a notification to your defined URL.
    3. See answer 1 above: BILL
    4. We do not send notice on a failure until we exhaust the retry period. At that point, we send a cancellation.

    I hope this helps.
    The ClickBank Team
    {{ DiscussionBoard.errors[10395591].message }}
    • Profile picture of the author George Lukas
      Originally Posted by ClickBank View Post

      The ClickBank Team
      Thank you! Very useful reply

      Would you please answer these as well?

      1 - I have a product that has $1 initial charge, and then after 3 days, there is a $47 "BILL". https://gyazo.com/a4a6191f8887df2fb8f78d7bc7eb6be0

      If the receipt number for the initial purchase is "TJV2LTNE", I assume I should receive a transactionType "BILL" with transaction id such as "TJV2LTNE-B023" within 3 days. Correct?

      2 - If I don't receive such transaction (BILL) after 3 days, then I do nothing! Just wait for you to send me a transaction with type "CANCEL" with id "TJV2LTNE"? Or id "TJV2LTNE-Bxxx"?

      3 - I can't find type "CANCEL" in docs by the way. Or will you send me "INSF" ?

      4 - And finally, how can I test a "Sale-RB", "BILL" or a "RFND" type? The API test on my dashboard sends only "TEST-SALE".

      Thank you
      {{ DiscussionBoard.errors[10396206].message }}

Trending Topics