问题描述
使用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
参数中传递授权",而不是销售"
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
这篇关于授权/捕获贝宝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!