Link to home
Start Free TrialLog in
Avatar of Dharmesh patel
Dharmesh patelFlag for India

asked on

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.
Avatar of Andrew Angell
Andrew Angell
Flag of United States of America image

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?
Avatar of Dharmesh patel

ASKER

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
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.
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.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Angell
Andrew Angell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you so much. this is the perfect result i wanted.