What do you mea n?
How do you have it set up?
Are you just redirecting people to that URL or are you setting up an API call?
It should not go to the PayPal homepage first so we need to check the integrations to make sure it is set up properly.
Thank you,
Zachary
Global Technical Support
PayPal
Could you send me the full request and response strings for each call that you are doing?
It should help me narrow down what the issue may be.
Thank you,
Zachary
Global Technical Support
PayPal
Hi,
Ok so I checked as I wasn't sure of how the code was and in fact I am using the parallel payment API whatever the condition is (percentage on sale set or not).
I do that because users can donate to the admin on purpose.
The URL called is then:
https://www.paypal.com/webscr&cmd=_ap-payment&paykey=<token>
where <token> is sent by the API.
Clément
Those I don't have, using the api of paypal.
Could you have your developer send over the complete API call from beginning to end?
Or if they have a debug log they can send that to me as well.
You have to activate the debug in the PPConfiguration.php file then once you have done a call you have the debug file marketplace_paypal.log at the root of the forum.
PPAPIService: Request: requestEnvelope.errorLanguage=en_US&actionType=PAY&cancelUrl=https%3A%2F%2Fwww.spoolstreet.com%2Fforums%2Fthreads%2Fsell-in-the-classifieds-directly-to-your-paypal-account.1207%2F¤cyCode=USD&feesPayer=EACHRECEIVER&ipnNotificationUrl=https%3A%2F%2Fwww.spoolstreet.com%2Fforums%2Fxfa_fss_payment_callback.php%3Fcustom%3D3&receiverList.receiver(0).amount=1.99&receiverList.receiver(0).email=tyler%40spoolstreet.com&receiverList.receiver(0).paymentType=GOODS&reverseAllParallelPaymentsOnError=1&returnUrl=https%3A%2F%2Fwww.spoolstreet.com%2Fforums%2Fthreads%2Fsell-in-the-classifieds-directly-to-your-paypal-account.1207%2Fxfa-fss-purchase-done
PPHttpConnection: Connecting to https://svcs.paypal.com/AdaptivePayments/Pay
PPHttpConnection: Payload requestEnvelope.errorLanguage=en_US&actionType=PAY&cancelUrl=https%3A%2F%2Fwww.spoolstreet.com%2Fforums%2Fthreads%2Fsell-in-the-classifieds-directly-to-your-paypal-account.1207%2F¤cyCode=USD&feesPayer=EACHRECEIVER&ipnNotificationUrl=https%3A%2F%2Fwww.spoolstreet.com%2Fforums%2Fxfa_fss_payment_callback.php%3Fcustom%3D3&receiverList.receiver(0).amount=1.99&receiverList.receiver(0).email=tyler%40spoolstreet.com&receiverList.receiver(0).paymentType=GOODS&reverseAllParallelPaymentsOnError=1&returnUrl=https%3A%2F%2Fwww.spoolstreet.com%2Fforums%2Fthreads%2Fsell-in-the-classifieds-directly-to-your-paypal-account.1207%2Fxfa-fss-purchase-done
PPHttpConnection: Adding header X-PAYPAL-REQUEST-DATA-FORMAT: NV
PPHttpConnection: Adding header X-PAYPAL-RESPONSE-DATA-FORMAT: NV
PPHttpConnection: Adding header X-PAYPAL-DEVICE-IPADDRESS: 104.225.250.98
PPHttpConnection: Adding header X-PAYPAL-REQUEST-SOURCE: adaptivepayments-php-sdk-2.8.118
PPHttpConnection: Adding header User-Agent: PayPalSDK/adaptivepayments-php-sdk 2.8.118 (lang=PHP;v=5.6.27;bit=64;os=Linux_2.6.32-642.6.2.el6.x86_64;machine=x86_64;openssl=1.0.1e-fips;curl=7.19.7)
PPHttpConnection: Adding header X-PAYPAL-APPLICATION-ID: APP-9LA77688BW715371U
PPHttpConnection: Adding header X-PAYPAL-SECURITY-USERID: admin_api1.spoolstreet.com
PPHttpConnection: Adding header X-PAYPAL-SECURITY-PASSWORD: 2VJS6UKSNZJK8PGL
PPHttpConnection: Adding header X-PAYPAL-SECURITY-SIGNATURE: AFcWxV21C7fd0v3bYYYRCpSSRl31ABDK9WWTSz5vGmJ9kSY9.exje2Ka
PPAPIService: Response: responseEnvelope.timestamp=2017-01-20T11%3A07%3A44.162-08%3A00&responseEnvelope.ack=Success&responseEnvelope.correlationId=60b26d18f14df&responseEnvelope.build=29031018&payKey=AP-0F017570NH624013P&paymentExecStatus=CREATED
Why did you copy that here ? Thought you needed it to send to paypal guy.
Thank you for contacting PayPal Merchant Technical Services.
I think we figured out what the issue is.
In the URL try replacing the '&' with '?' and then attempt transaction and let me know.
https://www.paypal.com/webscr&cmd=_ap-payment&paykey=AP-4HK36233SH952733U
https://www.paypal.com/webscr?cmd=_ap-payment&paykey=AP-4HK36233SH952733U
Unless you have a server cache for files no.