Sandbox Testing at Paypal - Changing URL Endpoint?

There seems to be a lot of changes in Sandbox Sandbox lately and I'm stuck in testing. We used to point to https://www.sandbox.paypal.com/cgi-bin/webscr to test Sandbox, as shown in the code below:

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" style="padding: 0; margin: 0;"> <input type="hidden" name="cmd" value="_xclick" /> <input type="hidden" name="business" value="your bussiness id" /> <input type="hidden" name="quantity" value="1" /> <input type="hidden" name="item_name" value="your item" /> <input type="hidden" name="item_number" value="1" /> <input type="hidden" name="amount" value="item price" /> <input type="hidden" name="shipping" value="0" /> <input type="hidden" name="no_note" value="1" /> <input type="hidden" name="notify_url" value="Your notify url"> <input type="hidden" name="currency_code" value="GBP" /> <input type="hidden" name="rm" value="2" > <input type="hidden" name="return" value="your return url"> <input type="image" border="0" name="paypal" src="images/btn_paypal_nl.gif" onClick=""/> </form> 

But now Sandbox keeps asking me, "Please log in to use Sandbox features for PayPal." which I suppose means that I am using the wrong endpoint, given the recent changes to Sandbox Sandbox.

Now my questions are:

I am currently assuming that the URL I mentioned above is the only change I need to make. However, I can not find new documentation about the new URL for submitting the form. And Paypal does not update documents about it.

Please, help.

Thanks.

+6
source share
3 answers

Yes, the link " https://www.sandbox.paypal.com/cgi-bin/webscr " still works. But now you must use your PayPal account credentials to log into your paypal.developer account. If you do not have this, just create it here https://developer.paypal.com/webapps/developer/applications/accounts . Your old mailbox credentials will not work here. But after logging into your PayPal account, you can import your personal and commercial account as a sandbox.

Create a session in a new tab by writing https://developer.paypal.com/webapps/developer/applications/accounts

and if you still see a blank sandbox page with just the name sandbox.com, just clear your cookies and try caching again.

Hope this works for you.

+3
source

Change cmd value _xclick/ β†’ _xclick

+1
source

When using the paypal sandbox features, you must first enter the developer area at https://developer.paypal.com/ to establish a session there. I usually leave it open on another tab.


change

If you had a developer account before the latest developer updates, you may need to log in and set up a new account in the form of a sandbox. I lost access to the sandbox accounts that I configured, but the API calls still worked.

Check out https://developer.paypal.com/webapps/developer/applications/accounts . If you see your old account indicated there with the checkbox disabled or do not see it at all, create a new one.

0
source

All Articles