Express Checkout returns 400 when sending multiple transactions

Settenop
Contributor
Contributor

I've been using the express checkout for a while without problems, I've implemented it following the instructions provided here https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/server-side-R... .

 

Now I need to send money to multiple payee in one payment, and so, for each payee involved: I've created a new transaction and added the payee items and the corresponding payee object to the transaction, then the new transaction is added to the transactions array.

->transaction: https://developer.paypal.com/docs/api/payments/#definition-transaction
->payee: https://developer.paypal.com/docs/api/payments/#definition-payee

 

When I attempt to create the payment with the transactions array, created as explained before, i get an error 400: "only single payment transaction currently supported".
->create_payment: https://developer.paypal.com/docs/api/payments/#payment_create

 

How can I send the payment to multiple payee at once? Am I doing something wrong?

I'm from Italy and the environment is a c# WebApp without SDKs.

 

Thanks in advance to anyone who will answer.

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

MTS_Jennifer
Moderator
Moderator

To send payments to multiple payee's at once, you will need to be setup with PayPal For Marketplaces.

Here is the information on PayPal For Marketplaces:

https://developer.paypal.com/docs/marketplaces/pp4mp/

 

From the PayPal Developer site:

Our PayPal for Marketplaces solution has two integration paths to choose from based on how you run your business:

  • Connected path. A marketplace model in which each individual PayPal merchant assumes financial liability, rather than you, the partner. All merchants must have PayPal Business accounts.

  • Managed path. A marketplace model in which the partner assumes financial liability. Merchants aren't required to have PayPal Business accounts.

Thank you,

Jennifer

View solution in original post

Login to Me Too
2 REPLIES 2
Solved

MTS_Jennifer
Moderator
Moderator

To send payments to multiple payee's at once, you will need to be setup with PayPal For Marketplaces.

Here is the information on PayPal For Marketplaces:

https://developer.paypal.com/docs/marketplaces/pp4mp/

 

From the PayPal Developer site:

Our PayPal for Marketplaces solution has two integration paths to choose from based on how you run your business:

  • Connected path. A marketplace model in which each individual PayPal merchant assumes financial liability, rather than you, the partner. All merchants must have PayPal Business accounts.

  • Managed path. A marketplace model in which the partner assumes financial liability. Merchants aren't required to have PayPal Business accounts.

Thank you,

Jennifer

Login to Me Too

Settenop
Contributor
Contributor

I hope the documentation becomes as good as the support.

Maybe this should be pointed out in a note on the payee object reference.

 

Thank you for your time

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.