dongzhong1929 2014-07-19 21:30
浏览 24
已采纳

PayPal支付给多个接收者。 适应性支付?

I am looking to develop an application that is effectively a cart based software licensing management system.

In most scenarios, the cart system will be entirely owned by one vendor, therefore no matter what items are added to the cart, only one person will need to receive the money.

In feedback from potential users, there are some who desire the cart system to be shared and contain a mix of products that could be sold by multiple people, therefore the total payment for the cart could need to be received between multiple people.

e.g.

Product A
Sold by Developer A
$10

Product B
Sold by Developer B
$15

Product C
Sold by Developer C
$20

Product D
Sold by Developer A
$15

If a buyer adds all of the above to their cart, they should pay $60. But Developer A should receive $25, Developer B $15, and Developer C $20.

So, of course, for the sake of being user friendly, I want that process to be entirely transparent to the end user, e.g. they are just making one transaction worth $60, but behind the scenes PayPal and the application should split that between the correct recipients.

So, is that possible with the PayPal API. And is that possible with Adaptive Payments? Is there a good code example (PHP) that covers this scenario?

  • 写回答

1条回答 默认 最新

  • douyouzheng2209 2014-07-20 20:32
    关注

    Yes, that is possible with Adaptive Payments, specifically the Pay API.

    My PHP class library for PayPal will make this very quick and easy for you, and it includes a fully functional chained payment sample.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 谁能帮我挨个解读这个php语言编的代码什么意思?
  • ¥15 win10权限管理,限制普通用户使用删除功能
  • ¥15 minnio内存占用过大,内存没被回收(Windows环境)
  • ¥65 抖音咸鱼付款链接转码支付宝
  • ¥15 ubuntu22.04上安装ursim-3.15.8.106339遇到的问题
  • ¥15 blast算法(相关搜索:数据库)
  • ¥15 请问有人会紧聚焦相关的matlab知识嘛?
  • ¥15 网络通信安全解决方案
  • ¥50 yalmip+Gurobi
  • ¥20 win10修改放大文本以及缩放与布局后蓝屏无法正常进入桌面