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

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

问题描述

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

  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

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

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