It seems there are a lot of changes with Paypal Sandbox lately and I am stuck with my testing. Before, we only point to https://www.sandbox.paypal.com/cgi-bin/webscr for Sandbox testing as seen 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 to "Please login to use the PayPal Sandbox features." which I assume means I am using the wrong endpoint given the latest Paypal Sandbox changes.
My questions now are:
As of now, I'm assuming that the URL I mentioned above is the only change I need to do. However, I can't find new documentation on what the new URL to submit the form to is. And Paypal doesn't have updated docs about this.
Please help.
Thanks.
Next, you'll need to go to the PayPal Developer site and use your existing PayPal account to log in. Once you're logged in, look under the Sandbox section in the lefthand menu and click Accounts. PayPal will have already created two test accounts for you: one for a Business account and one for a Personal account.
Test. Log in to the Developer Dashboard and create a new sandbox test account. Click your Log in with PayPal button. Log in to PayPal using the test buyer account you created.
Manage your REST API apps in the REST API apps section of My Apps & Credentials page. To move between sandbox and live settings, click the Sandbox or Live toggle.
The PayPal sandbox mirrors the features on the PayPal production servers. While some PayPal features do not apply to the sandbox, such as closing an account, issuing monthly statements, storing shipping preferences, and PayPal Shops support, the sandbox has the same PayPal API feature set as the live environment.
Please change your cmd value _xclick/
-> _xclick
Yes, the link "https://www.sandbox.paypal.com/cgi-bin/webscr" still work. But, now you have to use your paypal account credential to login to your paypal.developer acount. If you don't have this then just create one here https://developer.paypal.com/webapps/developer/applications/accounts. Your old sandbox login credentials will not work here. But after logging through your paypal account you can import your old sandbox's personal and business account to here.
Create session in new tab by logging using https://developer.paypal.com/webapps/developer/applications/accounts
and if still see sandbox blank page with just sandbox.com name then just clear your cookies and cache an try again.
Hope this will work for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With