问题描述
我正在建立在Ruby On Rails上的在线市场上,客户可以在该市场上预订提供商的服务.
I'm working on an online marketplace built on Ruby On Rails where customer can book services from the provider.
现有流程:(仅预授权)
客户授权资金 => 服务提供商提供的服务 => 资金将被捕获到我的帐户中 => 我' m付款提供商使用他们的Paypal电子邮件地址进行手动操作.
Customer Authorize money => Service provider provides the services => Money will be capture to my account => I'm paying providers manually using their paypal email address.
我想要的内容: (预授权+自适应)
客户授权资金 => 服务提供商提供的服务 => 资金将被捕获到我的帐户中,将在提供商和我们之间分配.
Customer Authorize money => Service provider provides the services => Money will be capture to my account and will split between Provider and us.
我不确定这是不是由贝宝提供的.
I'm not sure if this is provided by the paypal or not.
使用现有系统每天进行000次交易将非常困难.因此,在捕获时是否有任何拆分付款的方式,我还使用 active_paypal_adaptive_payment 实现了自适应付款是他们将其与预授权付款集成的任何方式.
It will be very difficult to go with existing system for the 000's transaction per day. So Is there any way to split payment while capturing, I've also implemented Adaptive payment using active_paypal_adaptive_payment but not sure is their any way to integrate it with the preauthorize payment.
任何建议将不胜感激,非常感谢
Any suggestion will be appreciated,Many thanks
推荐答案
当然可以.
基本上,您需要先进行预批准付款,然后再使用预批准密钥进行链式付款或并行付款.
Basically you will need to make a preapproval payment and then later do either a chained or parallel payment using the preapprova key.
在这里您可以找到更多信息:
Here you can find more information:
这篇关于贝宝预授权+自适应付款的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!