Authorize.net ARB API Integration Question

廉价感情. 提交于 2019-12-24 09:48:56

问题


I'm integrating with Authorize.net's ARB API. Authorize.net processes their transactions at a certain time everyday, so when people create a subscription, their transaction is not real time.

I am creating a subscription based model, does their API tell me whether their CC has been processed? Or should I put a delay on the access to my site until they have processed all the ARB transactions that day.

Thanks in advance!


回答1:


You should be charging their first subscription payment via the AIM API. This will give you instant feedback as to whether or not the payment was good. Assuming it was successful you then can use ARB to create their subscription by setting the start date to be the date of their next scheduled payment.

This serves two purposes:

  • If the card is bad you know immediately and can have the user provide a new card while they are still on your website. Once they leave your site it gets much more difficult to get them back to correct it.

  • You can give them instant access without worrying about whether or not their card is approved or not.

FYI, you can use Silent Post to determine the status of payments made via ARB.



来源:https://stackoverflow.com/questions/6113919/authorize-net-arb-api-integration-question

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!