Bibek Sharma
Bibek Sharma

Reputation: 3330

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

Upvotes: 0

Views: 127

Answers (1)

CCamilo
CCamilo

Reputation: 887

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

Upvotes: 1

Related Questions