简体   繁体   中英

Paypal Preauthorized + Adaptive payment

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM