授权/捕获贝宝 [英] Authorize/Capture for PayPal

查看:247
本文介绍了授权/捕获贝宝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用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:

  1. 接收者将单击帐户中的捕获"按钮
  2. 可以通过API完成-使用 DoCapture 并取消使用 DoVoid
  1. Receiver will either click on capture button in account
  2. It can be done via a API - to capture the payment use DoCapture and void the payment use DoVoid

这篇关于授权/捕获贝宝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆