I'm having issues coding my backend for a trial offer. I'm using Authorize.net's ARB api but am not sure if it's the best approach now that I'm stuck with this problem...
This is how I want the payment schedule-
Day 0: Bill for trial offer's shipping
Day 15: Bill for product that was sent on trial basis and not canceled
Day 21: Bill product and shipping for next month
... then continue last rebill every 28 days.
I figured I'd need two transactions on submit:
Trial Trans: Bill Shipping + Wait 15 Days + Bill Product
Rebill Trans: Wait 21 Days + Bill Product + Shipping + Wait 28 Days Rebill
Anyone familiar with this type of structure able to lend some advice?
Should I be using Auth.net's ARB for both? Do I need both?
I've done extensive reading on the ARB service and although this makes the most sense I'm still stuck.
Also, on the same note... I keep getting a Duplicate Subscription error if the transaction comes back with an error. As in, if the CC number wasn't valid the API returns the "Card not valid" error but once corrected I'm stuck with the duplicate error now.
This is how I want the payment schedule-
Day 0: Bill for trial offer's shipping
Day 15: Bill for product that was sent on trial basis and not canceled
Day 21: Bill product and shipping for next month
... then continue last rebill every 28 days.
I figured I'd need two transactions on submit:
Trial Trans: Bill Shipping + Wait 15 Days + Bill Product
Rebill Trans: Wait 21 Days + Bill Product + Shipping + Wait 28 Days Rebill
Anyone familiar with this type of structure able to lend some advice?
Should I be using Auth.net's ARB for both? Do I need both?
I've done extensive reading on the ARB service and although this makes the most sense I'm still stuck.
Also, on the same note... I keep getting a Duplicate Subscription error if the transaction comes back with an error. As in, if the CC number wasn't valid the API returns the "Card not valid" error but once corrected I'm stuck with the duplicate error now.