Dharmesh patel
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.
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.
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_SELLERPA YPALACCOUN TID= Id of Receiver
&PAYMENTREQUEST_0_AMT=196& PAYMENTREQ UEST_0_ITE MAMT=196
&PAYMENTREQUEST_0_PAYMENTR EQUESTID=r equest0&PA YMENTREQUE ST_0_PAYME NTACTION=S ale
&L_PAYMENTREQUEST_0_NAME0= <p>jhkhgjh g</p>&L_PA YMENTREQUE ST_0_QTY0= 2
&L_PAYMENTREQUEST_0_AMT0=9 8&PAYMENTR EQUEST_1_S ELLERPAYPA LACCOUNTID = Second Receiver
&PAYMENTREQUEST_1_AMT=4&PA YMENTREQUE ST_1_ITEMA MT=4
&PAYMENTREQUEST_1_PAYMENTR EQUESTID=r equest1&PA YMENTREQUE ST_1_PAYME NTACTION=S ale
&L_PAYMENTREQUEST_1_QTY0=1 &L_PAYMENT REQUEST_1_ AMT0=4&L_P AYMENTREQU EST_1_NAME 0=MLeads Platform Fee
&RETURNURL=http://192.168.1.51/mleads9.6/paypal/paypal_notification.php&actionType=PAY
¤cyCode=USD&CANCELUR L=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
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_SELLERPA
&PAYMENTREQUEST_0_AMT=196&
&PAYMENTREQUEST_0_PAYMENTR
&L_PAYMENTREQUEST_0_NAME0=
&L_PAYMENTREQUEST_0_AMT0=9
&PAYMENTREQUEST_1_AMT=4&PA
&PAYMENTREQUEST_1_PAYMENTR
&L_PAYMENTREQUEST_1_QTY0=1
&RETURNURL=http://192.168.1.51/mleads9.6/paypal/paypal_notification.php&actionType=PAY
¤cyCode=USD&CANCELUR
&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.
ASKER
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you so much. this is the perfect result i wanted.
Can you provide a sample of the API request and response you're getting?