cancel
Showing results for 
Search instead for 
Did you mean: 

Error posting to PayPal

Options
ArchieJr
Contributor
Posted on

Hi,

 

I have the following form on my website.

 

 

 

 

<form action="https://www.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="no_note" value="0" /><input type="hidden" name="business" value="my-paypal-email" /><input type="hidden" name="notify_url" value="https://www.lanternworks.com/aosworkshop.com/payment_received.php" /><input type="hidden" name="return" value="https://www.lanternworks.com/aosworkshop.com/thanks.php" /><input type="hidden" name="rm" value="2" />
<input type="hidden" name="item_name_1" value="AOS MINI Webinar" />
<input type="hidden" name="item_number_1" value="2020-12-12" />
<input type="hidden" name="item_price_1" value="45" />
<input type="hidden" name="shipping_1" value="0.00" /><input type="hidden" name="cbt" value="Please click here to finalize order" /><input class="submit_button" type="submit" id="checkout-button" name="checkout-button" value=" CHECKOUT " style="width:130px; text-align:center" /></form>

 

 

 

When submitted, it generates the following error: 

 

Error Detected

Your shopping cart is empty.

 

What might the trouble be?

 

I use a form structured the same way on another site and it functions fine.

1 REPLY 1

Error posting to PayPal

Options
ArchieJr
Contributor

My form was removed (no explanation) and no answers to a straightforward question after weeks.

I don't see that a simplified example of the form used to post a cart to PayPal, with the variables randomized, would be an issue to display.

With no answers after weeks, I found my own solution - this was not helpful.

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.