My client has a requirement, I'll illustrate :
Suppose someone purchases something(worth $100) from my client's website. Now my clients wants that $85 would go to the owner of that item and $15 my client will keep as commission.
Is this possible ?
Thanks
See Adaptive Payments on the PayPal website.
The Adaptive Payments API allows merchants and developers to pay almost anyone and set up automated payments. They can create applications that manage payments, payment preapprovals, and refunds. They can also send money peer-to-peer, split payments in both parallel and chained models, accept guest payments, and schedule disbursements. The Adaptive Payments API works on multiple platforms including the web and mobile environments.
Related
I am writing a script to split payments to sellers using parallel payments with php.
Previously I have used the 'pay' sdk with adaptive payments.
On the developer site it now states:
Important: Adaptive Payments is now a limited release product. It is restricted to select partners for approved use cases and should not be used for new integrations without guidance from PayPal.
I am in the uk and marketplace is for US only at present.
So what am I to use?
Many Thanks
You Can utilize Express Checkout with Parallel Payment.
Refer here.
The reason i am asking paypal question here is that being a new user,i have not been able to post question on paypal's community/technical/ developer websites.
I have developed a website (similar to ebay) where sellers/merchants can sell their products . My websites requires a payment gateway that could take orders from normal customers who buy sellers' products, deduct commission from that ordered amount and send money to seller's bank account.
Please note that there could be 1000s of sellers to sell their products.
To achieve this, I think adaptive chained payment method suits me to serve this purpose.
My question is:
1- My website acting as a primary receiver, can I change secondary reciever in each API call so that I could deduct commission from orders and put the rest of money into individual seller's PayPal account?
2- How can I set up my PayPal account to receive chain adaptive payments?What is the procedure to set it up as it is now a limited release product? It is now restricted to select partners for approved use cases and should not be used for new integrations without guidance from PayPal.
Here is what I tried:
https://developer.paypal.com/docs/classic/adaptive-payments/integration-guide/APIntro/?mark=adaptive%20payment
I couldn't find the link to choose/set up Paypal chain adaptive payment.
Please accept my apology in advance as i am struggling for hours.
I would appreciate if you could share a link or guide.
Thanks
i am having small doubt in PHP development.
Now i am using PayPal payment for products cart in my WordPress website.
that payment can be send to one partner.
now i want to split all payments to two PayPal partners.
for example product price 10$
then
user1=8$
user2=2$
if there any possibility available to this development. Every payment will be split into two partners. all payment will be split to into two partners.
if any having idea or sample code then give. it may be use full for me.
Thanks in advance
There is a feature available for this. Its called "Adaptive Payment".
The Adaptive Payments API allows merchants and developers to pay almost anyone and set up automated payments. They can create applications that manage payments, payment preapprovals, and refunds. They can also send money peer-to-peer, split payments in both parallel and chained models, accept guest payments, and schedule disbursements. The Adaptive Payments API works on multiple platforms including the web and mobile environments.
Sample API Request :Eg : Parallel Payments
actionType=PAY #The action taken in the Pay request (that is, the PAY action)
&clientDetails.applicationId=APP-80W284485P519543T #Standard Sandbox App ID
&clientDetails.ipAddress=127.0.0.1 #Address from which request is sent
&senderEmail=sender_email
¤cyCode=USD #The currency, e.g. US dollars
&receiverList.receiver(0).amount=3.00 #The payment amount for the first receiver
&receiverList.receiver(0).email=first_receiver_email
&receiverList.receiver(1).amount=4.00 #The payment amount for the second receiver
&receiverList.receiver(1).email=second_receiver_email
&requestEnvelope.errorLanguage=en_US
&returnUrl=http://www.yourdomain.com/success.html #For use if the consumer proceeds with payment
&cancelUrl=http://www.yourdomain.com/cancel.html #For use if the consumer decides not to proceed with payment
Sample Codes in github
I am looking for information on how large resellers collect payments and pay the people who sell on their site. (e.g. Redbubble.com, a company that pays artists a commission for their work)
Specifically, I am looking for different solutions that cover a few key functions at minimal cost (like Paypal fees)
Ability to take payment from credit cards and paypal (others a benefit)
Track sales for each merchant as payments are processing
Collect payments in central account
Payout all processed payments on a monthly basis
P.S. I imagine there are a few ways to do this, I am hoping to gain some insight on what solutions have been proven.
P.P.S. This is not a technology specific question. Whatever APIs or third party solutions you know of are fair game.
Thanks for your knowledge!
Try PayPal adaptive payments.
Paypal Adaptive payments
You can also try Stripe to collect funds to one account and to trasfer them to third party acccounts but this only works in the US.
Stripe Payments
You could use the Adaptive Payments API and that would allow you to split the payments up among multiple receivers in a single transaction in real-time. If you go that route the API calls that you'd be interested in are...
Pay - This setups the actual payment and the receivers on the payment.
SetPaymentOptions - This allows you to provide more details like items, shipping, etc.
ExecutePayment - This actually processes the payment in the system after it's been setup with the previous calls.
PaymentDetails - This obtains details about a completed transaction.
Preapproval (possibly) - This allows you to get a Preapproval key for a user that will allow you to trigger payments on that users behalf at any time in the future with the use of the preapproval key.
PreapprovalDetails (if you use preapprovals) - This obtains details about an active preapproval profile.
To get all of that working in the live environment you'll need to submit an application through your PayPal developer account to obtain a Classic API App ID. For development on the sandbox there is a global App ID that can be used.
Another option would be to take payments on your site using any PayPal product like Payments Standard, Express Checkout, Payments Pro, etc. and have all the money come to your account, and then use the Pay API to distribute those funds out to people accordingly. This could be automated with an IPN solution and possibly the use of a CRON job on your server.
This is the method I like to use, and I typically go with a full Payments Pro / Express Checkout integration for payments on my site and then I distribute via the Pay API within an IPN solution or CRON job like I mentioned.
We have advertisers module where advertisers can place ads in to the site.
When user clicks ad, system should automatically sends money to site admin account and users account.
Notes:
. Assume each ad cost $10, need to distribute $5 each.
. Assume system has user and site admin credit/debit cards info.
My questions
1) How can I achieve it?
2) I want to achieve it through php. is there any issues?
Thanks
Venu
You will have to use some payment gateway to actually "post" a financial transaction. Paypal, or others;
Php is way mature now, and I believe you can do that in php.
You can use either Express Checkout Parallel payments to send $5 to each recipient's PayPal account, or PayPal Adaptive Chained / Parallel payments. The difference is that Express Checkout doesn't offer chained payments.
You cannot, however, automatically transfer these funds from a PayPal account to a credit card and/or bank account.
Have a look at https://www.x.com/ for documentation (I can't post more than two links..).
You can do this through Authorize.net with minimal coding skills.