cancel
Showing results for 
Search instead for 
Did you mean: 

Sandbox redirect URL not working

SOLVED
Highlighted
Member

Sandbox redirect URL not working

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Moderator

Re: Sandbox redirect URL not working

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!
4 REPLIES
Moderator

Re: Sandbox redirect URL not working

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!
Member

Re: Sandbox redirect URL not working

Thanks.

 

Yes that works.

I now get the error:

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

This feature (Digital Goods) is not supported.

 Return to merchant
 ----------------------------------------
 
Member

Re: Sandbox redirect URL not working

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

Moderator

Re: Sandbox redirect URL not working

No worries, thanks for the update !

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