开发者

How to delay credit card payment like Groupon with APIs (e.g, PayPal, Amazon, Google Checkout)?

We need to mimic Groupon style payment, where users enter a credit card but aren't charged unless some trigger event occurs. (No, this isn't for another deal site.)

Which payment APIs are best suited for this? PayPal? Amazon?

We want to offload as much of the payment processing as possible. Ideally, we don't store credit card information. 开发者_如何学JAVA Our goal is to merely act as the trigger that starts processing of payment.

Thanks!


Most payment gateways will support this, so long as you have the ability to authorise and settle separately.

It can cause issues though. The authorisation hold will typically drop off anywhere between 3 and 30 days later (depending on card issuer), at which point you would no longer be guaranteed the funds at settlement. You may also have to consider cards expiring, or being cancelled (reported stolen for example)

The typical way to work around these issues is;

  1. Capture card details and perform auth for zero value (to validate card only). The payment gateway will return a token id if the card is valid.
  2. Just prior to dispatch (days or weeks later), use the token id returned in step 1 to perform full authorization.
  3. If the authorization fails you need a manual process to re-contact customer for alternative payment, otherwise settle the payment and dispatch.

Paypal has a good page which explains the process, and a good number of examples that cover the kind of problems this scenario can create : https://cms.paypal.com/e_howto_html_authcapture

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜