I cannot figure out what I am doing wrong with my code, I get the error
\"We have detected a problem with this shopping cart. If the problem persists, please contac
I had the same Problem, but when I have added a line it solved
<input type="hidden" name="add" value="1">
you can try it. I am not sure is this is the correct solution or not.
I see quite a few problems:
See button code for a cart upload button below:
<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="upload" value="1">
<input type="hidden" name="business" value="example@example.com">
<!-- Begin First Item -->
<input type="hidden" name="quantity_1" value="1">
<input type="hidden" name="item_name_1" value="Item A">
<input type="hidden" name="item_number_1" value="Test SKU A">
<input type="hidden" name="amount_1" value="0.01">
<!--<input type="hidden" name="shipping_1" value="0.01">
<input type="hidden" name="tax_1" value="0.02">-->
<!-- End First Item -->
<!-- Begin Second Item -->
<input type="hidden" name="quantity_2" value="1">
<input type="hidden" name="item_name_2" value="Test Item B">
<input type="hidden" name="item_number_2" value="Test SKU B">
<input type="hidden" name="amount_2" value="0.02">
<!--<input type="hidden" name="shipping_2" value="0.02">
<input type="hidden" name="tax_2" value="0.02">-->
<!-- End Second Item -->
<!-- Begin Third Item -->
<input type="hidden" name="quantity_3" value="1">
<input type="hidden" name="item_name_3" value="Test Item C">
<input type="hidden" name="item_number_3" value="Test SKU C">
<input type="hidden" name="amount_3" value="0.03">
<!--<input type="hidden" name="shipping_3" value="0.03">
<input type="hidden" name="tax_3" value="0.03"> -->
<!-- End Third Item -->
<input type="hidden" name="currency_code" value="USD">
<!--<input type="hidden" name="tax_cart" value="5.13"> -->
Upload <br>
<input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_cart_SM.gif" border="0" name="upload" alt="Make payments with PayPal - it's fast, free and secure!" width="87" height="23">
</form>
You should check for the variables PayPal supports for Website Payments Standard (buttons) here.