Calculate fees before executing an Adaptive Payment
I'm currently creating a website which will act as a marketplace. People can buy and sell stuff and the website takes a commission.
We use the Adaptive Payments API because people are allowed to purchase items of multiple sellers in one transaction and we want it to be set up so that the commission covers the paypal costs.
I read all the docs and I know exactly how PayPal will calculate the fees. The problem is that we can't know in advance how much fees PayPal is going to charge because that depends on which country the seller is based in and more.
My first idea was to create a payment and check the fees, then execute if OK. But even the PaymentDetails API doesn't seem to include information about the fees, although in the "Primary receiver pays all the fees" mode, I would expect to have insight in the fees I have to pay, right ? At best I can only guess the maximum expected fees but I do expect better transparence from a financial institution like PayPal...
Thanks for helping.
The country doesn't have anything to do with the fees. It's all based on the monthly volume of the receiver.
The difficult thing is that you won't know what rate any given receiver will be getting unless you somehow know their volume. You'll need to pick on and calculate it on your own.
The thing is, let's say you have 3 different receivers on the transaction. Each one could get a different rate. Maybe 1 is a brand new account so it's at 2.9%, while another is doing $5k/mo in volume so it's at 2.2%, while the 3rd is doing $12k/mo so it would get 2.2%. Each receiver would pay their fee based the amount they receive and the rate they qualify for.
So again, one way or another you'll just need to calculate this within your app and handle it accordingly.
链接地址: http://www.djcxy.com/p/77342.html上一篇: 延迟链接付款PayPal费用文档问题
下一篇: 在执行自适应付款之前计算费用