PayPal Sandbox - Things don't appear to be working at the moment

carrzkiss
Contributor
Contributor

Hello All;

(On Sandbox ONLY, the button works perfectly LIVE)

OK, when I create a Shopping cart button and set it to [Save button on PayPal]
It works.
However, if I choose NOT to save it on PayPal. (Which I have to do), it does not work.
(My story site has over 100,000 items listed, so, there is NO way I can do this without having it show on the site)
It gives me the page: 

=-=-=-=-=-=Things don't appear to be working at the moment. Please try again later.=-=-=-=-=-=

So, what would cause the non-saved button not to work, on the Sandbox, but work on the LIVE PayPal site?
Code for non-saved button

<form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" >
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="PKUIOSZPVGYUO">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="My Product Name">
<input type="hidden" name="item_number" value="56585656">
<input type="hidden" name="amount" value="16.95">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="button_subtype" value="products">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="cn" value="Add special instructions to the seller:">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="cancel_return" value="https://www.site.com/Main.asp?Type=Cancel">
<input type="hidden" name="shipping" value="5.00">
<input type="hidden" name="add" value="1">
<input type="hidden" name="bn" value="PP-ShopCartBF:btn_cart_LG.gif:NonHosted">
<input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

Thanks, all.
Carrzkiss
Login to Me Too
3 REPLIES 3

Anonymous_User
Not applicable

I believe your issue is with the "business" variable value - looks like you're using your live Merchant Account ID instead of the one from the Sandbox.  That would explain why the button works on the live site and not in the Sandbox.   And just a minor thing but, the "cn" variable has been retired (deprecated). Deprecated variables are ignored when you pass them to PayPal.

Login to Me Too

carrzkiss
Contributor
Contributor

That did it.
What the issue was, and well, still is.
Is there is NO Button option in the sandbox account.
So, what I did was log in to the LIVE PayPal, and got the address location and pasted that into the sandbox account.
And from there, I was able to create a test button.
So, now I can fully test my site.

Thanks, GreenGear.
Wayne

Login to Me Too

Anonymous_User
Not applicable

Glad you have that sorted out.

 

In response to your question, sorry it's been a while since I tinkered with the Sandbox, but I believe that when you use your Sandbox created business account, you can create button code for testing and that Sandbox business account email address is your business value.    When I have some time, I'll have to do some looking.

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.