Paypal Preauthorized + Adaptive payment

独自空忆成欢 提交于 2019-12-14 03:22:00

问题


I'm working on an online marketplace built on Ruby On Rails where customer can book services from the provider.

Existing flow: (Preauthorize Only)

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.

What I want: (Preauthorize + Adaptive)

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.

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


回答1:


Sure you can do that.

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:

Documentation



来源:https://stackoverflow.com/questions/38780148/paypal-preauthorized-adaptive-payment

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!