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?
 
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
 
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
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
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
 
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
 
Dharmesh patelPHP developreAuthor Commented:
Thank you so much. this is the perfect result i wanted.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.