Best way to split a payment using the Smart Payments Button - paypal

I am setting up the Paypal integration for a Clients website. He has a page where users can buy stuff that others users sell and he wants the buyers to pay using Paypal, he also wants the payment to be charged a fee, so that a percentage of the payment goes to the website owner and the remainder goes to the seller. For example:
Tom sells shirts at $20 each and i want to buy two, so i would pay $40 plus the 3% of the transaction, that would sum up to $41.2, $40 would go to Tom and $1.2 to the page owner.
How can i do this using Paypal? I have been reading a lot Smart Payments Button describes how to set a payment but the funds go to a single person, i need to set a chained payment, split payment or something alike and their docs seem very fuzzy.
Any help is appreciated.
Thanks!

platform_fees , documented here , is the analogue to chained payments. However, it is only available to PayPal partners -- i.e., probably not your client.
For separate transaction payments to more than one receiver account, there is multi-seller payments.

After completing the Paypal Integration and after tears and pain i can tell that i couldn't use platform_fees.
The implementation is complete and working but i wrote to customer support and to dev support and they just don't want you to use platform_fees so nothing will work along that path.
The solution they provide and the one they want you to use is getting all the money on your account and then splitting it using Payouts to all the clients.
Really bad solution imo but its convenient for them because they charge more transactions instead of allowing you to do everything on a single transaction.

Related

Setting up paypal so my client gets a percentage from every transaction on her site

I have a client that wants a site that hosts sellers selling items and allows buyers to purchase the items. She wants all the money transactions to be between the buyer and seller and she collects a percentage of the sale. She wants her percentage to be automatically put in her paypal account. Kinda like eBay for example.
I have used paypal standard with buttons but have never done anything like this. Does anyone have any suggestions about how I would get started and/or how this is done?
Thank you for your suggestions,
Greg
Many people would (and probably will) recommend using some sort of split/chained payment solution, but I will just point out that the site you mention, eBay, does not use split payments. eBay sellers register with eBay; eBay faciliates the sales and bills the sellers for their fees. You can do the billing through invoicing, or via preapproved payment/billing agreements (which allow you to collect from sellers without them having to send you each payment).
While this solution requires you to do a little more work (tracking sales & billing) it is a lot more flexible.

Easiest way to add PayPal to existing Stripe billing flow

I have an educational website that uses 'Stripe Connect' to accept payments from students, and split the payments between myself (the platform provider) and the teachers (content-creators).
Payments to teachers are currently handled through Stripe. Whenever a student purchases content, the teacher automatically receives the payment directly into their Stripe account. I retain a portion of the transaction directly into my Stripe account. It's an easy system and works nicely.
The problem is that students want to pay with PayPal.
So, I would like to add PayPal as a payment option for students, without forcing content-creators to connect two separate accounts--one for when viewers pay with PayPal, and another for when viewers pay with Stripe. The only idea I have so far, is to deposit all PayPal payments to one PayPal account, then manually "payout" teachers into their Stripe accounts every week.
But is there an automated way to do this? Stripe says they don't accept payments from PayPal.
Any ideas/help would be appreciated. Thanks!
Adaptive payments does support chained payments, as Andrew says in his answer; it would work very much like what you describe having set up with Stripe.
However, this will not meet your requirements of having both PayPal and Stripe payments arrive in a single teacher account. Unfortunately, Stripe & PayPal see each other as competitors and to my knowledge neither one has built a tidy product to consolidate "their" payments into the other company's account.
If you are willing to move away from Stripe, PayPal does provide many solutions that consolidate "raw" credit card payments and PayPal account payments into a single receiver account, including through Adaptive Payments as cited by Andrew.
I would add that Braintree, having been purchased by PayPal, provides perhaps the most Stripe-like integration for a product that would accomplish this goal. However, I do not believe that the Braintree SDK will do the chained payments for you; you might have to do some work to make that happen on your end (take the first payment, then calculate and make payouts either weekly as you mentioned or per-incoming-transaction).
A couple other things to think about: if you split some payments into delayed fulfillment but others are chained inside one payments provider you will need to support two very different flows; you may find it easier (for both you and your content providers) to select one model and run everything through that model.
Also, instead of payments going to you & then chained to the content providers you could have payments to go directly to the content providers and then trigger billing (either invoicing or automatically collected via recurring payments) from the content providers to you for your cut.
The best pattern depends largely upon how you want the legal & financial responsibilities to lie: are you providing the good or service and people are paying you for it, making you like a retail store or distributor for producers? Or are content providers providing the good or service being paid for to the students, and you are like a marketplace/facilitator/advertising venue? This question becomes significant as soon as someone is unsatisfied with something they have bought :).
You can use the Adaptive Payments platform with PayPal to split payments just like you're doing with Stripe. Specifically, you'd use the Pay API setup as a chained payment with a secondary receiver.
If you happen to be working with PHP my class library for PayPal will make all of the API calls very simple for you.

How would one take a cut of a transaction with Paypal in an asp.net client to client transaction?

Title probably isn't really light shedding, let me rephrase.
On a platform that i have developed in asp.net, A customer can buy a product from an online seller, both of which are from my DataBase, registered users. Now when the customer makes a transaction, i wish to take a 5% cut from the total transaction amount, and the rest is sent to the online seller. I'm not asking for code to do this, but how is this done the correct way theoretically speaking?
Should the payment go to me first, than i split it into 2 payments 5% for me 95% for the seller, or maybe is there some built-in Paypal feature that enables this?
The Express Checkout API's will give you more freedom to integrate into your application a little more tightly, and the experience for buyers is a little nicer. It allows you to setup a parallel payment where you have multiple receivers on the transaction (with whatever amounts going to each that you specify) but the buyer will be able to see the split during the checkout.
If you want to hide the split you could go with the Adaptive Payments API instead. Within that, you can do parallel or chained payments, or even a delayed chained payment. Chained payments will hide the split from the buyer during checkout, and a delayed chained will be only give the money to the primary receiver until you specify that the secondary payment(s) should be sent by calling the ExecutePayment API.
Yet another option would be to use Payments Standard or Express Checkout to have the money sent to a single account, and then you could forward any payments necessary using the Pay API just for a single payment. This can be automated from within an IPN solution.
I realize that's a pretty broad answer, but it really was a pretty broad question.

Credit Card Payment - secondary money receiver

I working on an e-commerce site where I need to do something like this.
When the users is on payment page, he should be doing the following things:
- pays a fee
- authorize the payment of an amount (which could vary, but not with a big amount...)
Up to here, everything goes find with PayPal Direct payment system.
But I need more. I need that the authorized amount at some point to be directly charged by another seller (or transferred)
Any chance I can do this with PayPal Direct (such the the payment would still be made in site)? Or is there any other method?
If you're receiving the money via DoDirectPayment you could use MassPay or Pay to send funds to a 3rd party. If you want the split to happen within the original payment you can use Pay by itself and set it up as a parallel or chained payment. See the Adaptive Payments documentation for more details on that.
(Disclaimer: I am employee) Balanced will work for your use case
capturing cards directly without sending user to a third party site
paying out to a merchant of your choice via ACH payout at a later point in time.
The caveat is it's US only so if your outside the US let me know and I'll see if I can find any other options for you.

Divide Paypal Standard Payments to two separate accounts

I have a Paypal Standard gateway set up which pays the business account specified in the input no problem. I would like to make it so that at the same time, the customer is also paying a fee to the website - so they're paying our Paypal account a fee.
E.g. User buys a product (clicks Buy Now)
Goes to Paypal screen, and when the customer confirms the payment it will send the following money:
£10 - to the sellers account
£1.50 - to our account (fee)
I've heard a few methods such as Chain payments, Parallel payments and x.com says Adaptive payments, but I've not been able to understand the best method for doing this with a Paypal Standard integration.
Can someone point me in the right direction with this? Thanks in advance!
Adaptive Payments is a general term for the API's that handle this sort of thing. Chained Payments and Parallel Payments are under that same umbrella, so to speak.
Both chained and parallel payments will split your payment between multiple accounts like you're after. The primary difference is that the payer will see the split during checkout with a parallel payment, but you can hide that with a chained payment. You can also delay the secondary payment(s) using a chained setup.
If you happen to be working with PHP I'd recommend using my PHP class library for PayPal, which will make all of this very simple for you. I even offer 30 min of free training if you need help getting started, which is generally plenty of time to get you going if you understand how to work with array data.