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.

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

报告相同问题?

悬赏问题

  • ¥15 运筹学排序问题中的在线排序
  • ¥15 关于docker部署flink集成hadoop的yarn,请教个问题 flink启动yarn-session.sh连不上hadoop,这个整了好几天一直不行,求帮忙看一下怎么解决
  • ¥30 求一段fortran代码用IVF编译运行的结果
  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥30 python代码,帮调试,帮帮忙吧
  • ¥15 #MATLAB仿真#车辆换道路径规划