Adaptive Payments (Chained Payments) - Secondary Receiver pay the fee - paypal

When we try to set the secondary receiver pay the fee in chained payments, and when there are more than two secondary receivers, we get the below error.
Error! 580023 The fee payer SECONDARYONLY must have exactly 2
receivers PLATFORM Error Application Failure
2016-03-18T23:59:12.805-07:00 eee07aae3f51c 20420247
We would like to know how many secondary receivers are allowed in a chained payment when we set the secondary receivers to pay the fees (SECONDARYONLY)

For Chained Payment, you can't have the secondary receiver to pay for the fees if the receiver is more than 2 (primary + secondary). If you have more than 2 receivers, you can't set SECONDARYONLY to pay the fees. Refer here.

Related

Charging fees only to the secondary receivers of a chained payment?

Looking through the Docs, it says that:
SECONDARYONLY – Secondary receivers pay all fees (use only for chained payments with one secondary receiver) (emphasis mine)
Is this a typo in their docs? Can you only use this with a single secondary receiver?
Well it is not a typo. Using an Adaptive Payment Chained Payment, the secondary receiver can be at least 1 receiver and 1 primary receiver. As documented here, you can have at most one primary receiver and 1-9 secondary receivers.But if Secondary receiver nee to pay for the fees, the secondary receiver must have exactly 2 receivers only.

Delayed chained payment PayPal fee documentation issue

I'm using Delayed Chained Payment in this project: https://github.com/paypal/adaptivepayments-sdk-dotnet in sandbox environment.
When I use default fee settings (feesPayer.field = null) fees work according to documentation https://developer.paypal.com/docs/classic/adaptive-payments/integration-guide/APIntro/ scenario "Each Receiver Pays the Fee in a Chained Payment". This works all right. However, when I set feesPayer.field = "PRIMARYRECEIVER" it should work accoring to scenario "Primary Receiver Pays the Fee in a Chained Payment" from the same documentation, but it does not match.
My use case: normal user sends the payment and 1st fee is paid by primary receiver like in documentation. However, when I call ExecutePayment request to send payment to a secondary receiver, 2nd fee does not occur like in documentation.
I should be paying both fees, but the 2nd fee does not exist - where is the issue? Is the documentation correct?
There is no "second fee" if you have the primary receiver paying the whole fee. When the primary receivers the initial payment they pay the entire fee right then, so when you release secondary funds, that fee has already been paid. You won't see it again (in that case PayPal would be double dipping, which they don't do).

Paypal - Adaptive Payments

Given a market place that has buyers and sellers exchanging goods. What is the best way to allow a buyer to make a purchase and with hold the money from the seller until the shipment has been received?
Chain payments force the primary recipient to be receive the majority payout. But if that is the case, we end up being force to pay the seller at point of sale instead of what the shipment is complete.
Buyer - pays the total amount
MarketPlace - receives percentage
Seller - receives majority of sale (after delivery confirmed)
Any thoughts on how to accomplish our goal with Paypal?
Thanks!
There are lots of things you can do and any of them could be the best solution. It seems like you are already on the right track with is adaptive payments. The type of adaptive payment I would go for would be a delayed chained payment. A delayed chained payment as described by paypal is
Delayed Chained Payments
By default, payments to all receivers in a chained payment are
immediate. However, you can choose to delay a payment to a secondary
receiver. For example, as primary receiver, you may require secondary
receivers to perform some action, such as shipping goods or waiting
for expiration of a return period, before making payment. To complete
the payment, you must explicitly execute a payment to secondary
receivers after the sender pays you. The payment must occur within 90
days, after which you cannot complete the payment as part of the
original chained payment.
You can find more info about this about a quarter of the way down the page here.
Hope this helps!
p.s. checkout their samples included with their sdk for the classic api here.

How do I take 10% fee of paypal transaction

I am implementing the Paypal checkout system onto my site. Basically there is a seller, buyer, and my business. When the seller puts up something to sell and the buyer buys something, I (the business) get 10% of what the buyer pays. Is there a option in the Paypal api, or do I have to do it another way?
You can use Chained Payments in the Adaptive Payments API:
https://developer.paypal.com/webapps/developer/docs/classic/adaptive-payments/gs_AdaptivePayments/
Chained payments enable a sender to send a single payment to a primary receiver. The primary receiver keeps part of the payment and pays secondary receivers the remainder. For example, your application could be an online travel agency that handles bookings for airfare, hotel reservations, and car rentals. The sender sees only you as the primary receiver. You allocate the payment for your commission and the actual cost of services provided by other receivers. PayPal then deducts money from the sender's account and deposits it in both your account and the secondary receivers' accounts.

paypal personal credit card payment workaround

we are in Europe and actually, the guest payments (using credit/debit cards) to a friend aren't allowed.
We are searching an alternative to avoid the paypal registration (we known the limitations of this payment type https://www.x.com/developers/paypal/guest-payments).
We are thinking the next workaround: (using chained payment):
[fee 1] [fee 2]
Guest ------------> Primary receiver -------------> Secondary receiver
(credit card) (business account) (personal account)
So the Primary receiver don't get any money, transfers all the receiver money to Secondary receiver.
The problem is that, when you create the receivers list, you must specify the amount of Primary and Secondary receiver, if we set feesPayer to SECONDARYONLY, we don't know which is the exact amount, because we unknow the amount of fees (fee 1 + fee 2).
We have saw the "Payments Details API Operation", to try to get the fees from PayKey and then complete the payrequest message, but this information doesn't return in the message.
Any ideas ?
Thanks in advance.
In Chained Payments the primary receiver receives the total amount of the payment. Once the primary receives the payments then up to that total amount can be split amongst the other recipients.
For this example a consumer makes a $100.00 payment:
Primary receiver receives $100.00
Primary receiver then automatically forwards the funds to:
Secondary receiver 1 $50.00
Secondary receiver 2 $30.00
Secondary receiver 3 $20.00
This is fine as long as the secondary receiver's collective amount doesn't exceed the primary receivers amount. This should also take care of the fee issue as the secondary receiver who has all the funds are responsible for the fees for both transactions.
You are correct in not knowing the fee amount prior to the transaction. This is calculated by PayPal while payment is being made and there is no option for seeing the possible fee prior to payment. If you are the owner of the receiving accounts you may perform the calculations as you are already aware of the rates being charged.
Let me know if you have any questions.