1

尽管我之前已经实现了传统的贝宝网关 API,但我对贝宝支付网关还是很陌生。但是我对如何实施 Paypal 链式支付感到有点困惑,因为我去过贝宝文档网站,而且我似乎被一大堆信息所淹没。任何关于我如何以简单的方式实现它的链接或教程都将非常感激。

4

2 回答 2

5

I'm going to second Sumit Neema's answer.

EDIT Unfortunately, it seems paypal-labs is out of commission. What a shame. Here's an updated link to the Adaptive Payments PHP sample code:

https://github.com/paypal/codesamples-php/tree/master/AdaptivePayments/sample/code

The thing that trips most people up, is how money flows in a chained payment.

On a chained payment you will have one primary receiver, who is the one that the customer sees, and upt to five secondary receivers (Invisible to the paying customer).

initially 100% of the money will move from the buyer to the primary receiver, and then, paypal will subtract from the primary whatever portion belongs to the secondary receiver(s).

For example, a $100 payment needs to be split 70/30 between primary and secondary.

Initially $100 will be in the primary receiver's account. Paypal will then take $30, and move it to the secondary.

The end result? Primary has $70, secondary has $30.

Hope this helps.

于 2012-08-20T03:32:21.083 回答
1

这些是一些有用的链接。希望它可以帮助你

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_APIntro

https://www.x.com/authentication-0

https://www.x.com/developers/paypal/documentation-tools/paypal-code-samples

结帐此链接它具有完整的代码示例,并一步一步地在您需要的 php 或 whaetver 语言中实现在 paypal 中的链接支付。我知道这个代码示例非常有用,您只需要放置 API 密钥和要支付或正在支付的贝宝电子邮件和休息将毫不费力地完成

检查这个链接

https://www.paypal-labs.com/integrationwizard/adaptive/

于 2012-08-18T09:18:55.527 回答