paypalpaypal-adaptive-payments

Manage multiple recipients with one transaction id


I am building an e-commerce website where I need to charge the buyer for a purchase e.g. buyer purchased an item in 20$, then 18$ will be transferred to seller account and 2$ will be transferred to application owner as fee. I need to do this transfer in a single transaction.

  1. I can do it using adaptive payments with multiple recipients but when redirect buyer to Paypal for payment then page shows invoice with payment distribution (between owner and seller) which I don't want to show. I attached screenshot for the same as well. So, I dropped this option.

split payment screenshot

  1. Another option is I can collect full payment e.g. 20$ to owner's account when buyer transfers payment and then transfer seller's share in another transaction. But in this case I need to manage two different transaction IDs which will be hard to manage in case of a refund.

How can I distribute payment between multiple recipients in a single transaction without letting buyer know about it (case 1), and how can I manage a refund (case 2)?


Solution

  • You can achieve your requirement with PayPal adaptive chained payment.

    Adaptive Chained payments enable a sender(buyer) to send a single payment to a primary receiver(You). The primary receiver keeps part of the payment and send remaining money secondary receivers. In this process, the sender(buyer) sees only primary receiver(you) not secondary receivers.

    Please check below link for more info about PayPal adaptive chained payment:

    https://developer.paypal.com/docs/classic/adaptive-payments/ht_ap-basicChainedPayment-curl-etc/