问题描述
使用PayPal IPN,我们可以实现延迟付款吗?完美的例子是 Groupon,其中仅在交易提示时才向卡收费.有人可以了解使用 PayPal IPN 的实施部分,以及在交易提示时如何一次向多张卡收费.
Using PayPal IPN, can we implement delayed payment. Perfect example is Groupon where card is charged only when deal is tipped. Can someone throw light on implementation part using PayPal IPN and also how multiple cards can be charged at once when deal is tipped.
推荐答案
对于授权和捕获:
要进行付款授权,您必须在 paymentmethod
参数中传递authorization"而不是sale"
To make a payment authorize you will have to pass "authorization" in paymentmethod
parameter instead of "sale"
<input type="hidden" name="paymentaction" value="authorization" />
因此,对于这种类型的付款,paypal 不会立即向发件人收费,而是会等到收件人确认.有两种方法可以获取这笔付款:
So, For this type of payment, paypal will not charge the sender immediately but will wait till receiver confirmation. To capture this payment two methods are available:
- Receiver will either click on capture button in account
- It can be done via a API - to capture the payment use DoCapture and void the payment use DoVoid
这篇关于为 PayPal 授权/捕获的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!