Sandbox redirect URL not working

User1231
Contributor
Contributor

Having obtained a paykey from the sandbox and following the Redirect instruction on webpage:
https://developer.paypal.com/docs/classic/adaptive-payments/gs_AdaptivePayments/
Conforming to this instruction with the URL:
https://svcs.sandbox.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=AP-82B074106W7932302
Results in the webpage:
--------------------------------------------------------------------------------------------------------------
Not Found
The requested URL /cgi-bin/webscr was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at api.sandbox.paypal.com Port 443
--------------------------------------------------------------------------------------------------------------
What might be the problem here.

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

MTS_Justin
Moderator
Moderator
Hello,

The URL should be :

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=AP-82B074106W7932302

The "svcs.sandbox.paypal.com" endpoint is only used when submitting API requests

Was my post helpful? If so, please give me a kudos!

View solution in original post

Login to Me Too
4 REPLIES 4
Solved

MTS_Justin
Moderator
Moderator
Hello,

The URL should be :

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=AP-82B074106W7932302

The "svcs.sandbox.paypal.com" endpoint is only used when submitting API requests

Was my post helpful? If so, please give me a kudos!
Login to Me Too

User1231
Contributor
Contributor

Thanks.

 

Yes that works.

I now get the error:

-----------------------------------------

This feature (Digital Goods) is not supported.

 Return to merchant
 ----------------------------------------
 
Login to Me Too

User1231
Contributor
Contributor

Sorry. Just seen digital goods uses a different path. My bad.

Login to Me Too

MTS_Justin
Moderator
Moderator
No worries, thanks for the update !

Was my post helpful? If so, please give me a kudos!
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.