paypal API not works proper for adaptive payment

hello,

i am using paypal API for my website, which i use for receive payment from clients. this API works fine for single payment means "single receiver of payment". now i need to implement paypal for multiple receiver. so now the problem arise is no payment cuts from buyer and no payment received by service provider means us. so where is the problem? should i change the API for adaptive payment or needs only some changes in API or paypal account setting.

Please help me i stuck here.
Dharmesh patelPHP developreAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew AngellCo-Owner / DeveloperCommented:
So you're just trying to take an existing Pay request that pays a single receiver and add additional receivers to it?

Can you provide a sample of the API request and response you're getting?
0
Dharmesh patelPHP developreAuthor Commented:
We have facing isssue is like that we have using Adaptive Payment method in our local server as well as live Sever but the money did not cut for Paying user and money is not receiver to Paypal user. Transaction Id also generate.

 

When We are using Simple Method for Single Receiver the Payment was succesful and Money is also Debit and Credit Only We have facing the issue in Multiple Receiver for Adaptive Payment.

Payment is successful but money didnt get Credit or Debit.

Here We have give to Express Check out Code.

 

&PAYMENTREQUEST_0_SELLERPAYPALACCOUNTID= Id of Receiver

&PAYMENTREQUEST_0_AMT=196&PAYMENTREQUEST_0_ITEMAMT=196

&PAYMENTREQUEST_0_PAYMENTREQUESTID=request0&PAYMENTREQUEST_0_PAYMENTACTION=Sale

&L_PAYMENTREQUEST_0_NAME0=<p>jhkhgjhg</p>&L_PAYMENTREQUEST_0_QTY0=2

&L_PAYMENTREQUEST_0_AMT0=98&PAYMENTREQUEST_1_SELLERPAYPALACCOUNTID= Second Receiver

&PAYMENTREQUEST_1_AMT=4&PAYMENTREQUEST_1_ITEMAMT=4

&PAYMENTREQUEST_1_PAYMENTREQUESTID=request1&PAYMENTREQUEST_1_PAYMENTACTION=Sale

&L_PAYMENTREQUEST_1_QTY0=1&L_PAYMENTREQUEST_1_AMT0=4&L_PAYMENTREQUEST_1_NAME0=MLeads Platform Fee

&RETURNURL=http://192.168.1.51/mleads9.6/paypal/paypal_notification.php&actionType=PAY

&currencyCode=USD&CANCELURL=http://192.168.1.51/mleads9.6/paypal/cancel.php&SOLUTIONTYPE=Sole

&ipnNotificationUrl=http://192.168.1.51/mleads9.6/paypal/paypal_notification.php

 

Here We have give to you our Response.

 

Array( [TOKEN] => EC-4XK83772F99823143 [TIMESTAMP] => 2015-03-15T05:56:10Z [CORRELATIONID] => 18870abddbabe [ACK] => Success [VERSION] => 76.0 [BUILD] => 15735246)https://www.sandbox.paypal.com/cgi-bin/webscr
0
Andrew AngellCo-Owner / DeveloperCommented:
It looks like you're confusing Express Checkout and Adaptive Payments.  Which API are you trying to use specifically?  Express Checkout and Adaptive Payments are entirely different things.
0
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

Dharmesh patelPHP developreAuthor Commented:
we are using adaptive paypal API for this. Are there different APIs for single receiver payment and multiple receiver payment?  i require for multiple receiver... if possible, can you provide the code for this.
0
Andrew AngellCo-Owner / DeveloperCommented:
The sample request you've provided here looks like a mixture of Express Checkout and Adaptive Payments parameters, so that's definitely not going to work.

Both of them provide features to split payments but Express Checkout only allows for parallel payments where as Adaptive Payments allows for both parallel or chained payments.

With Parallel payments the buyer will be able to see that there are multiple receivers on the payment.  With a chained payment this can be hidden so the buyer only sees the primary receiver.

My PHP Class Library for PayPal supports both Express Checkout and Adaptive Payments and will make the calls very simple for you.  You just need to decide which one you want to use and then you can load up the library, open the sample for it, and run it accordingly.  Then all you have to do is adjust the parameters to suit your needs.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dharmesh patelPHP developreAuthor Commented:
Thank you so much. this is the perfect result i wanted.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.