cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with 'Add to Cart' button

Options
Go to solution
Whalebone
Contributor
Posted on

Hello! 

I am trying to put an 'Add to Cart' button on my website, along with a 'But it now' and 'View Cart' button. 

'Buy it now' and 'View Cart' buttons work fine. 'Add to Cart' displays 'Things don't appear to be working at the moment. Please try again later.' 

 

Here is the HTML:

<table style="width: 150px;" border="0" align="center">
<tbody>
<tr>
<td><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal"><input name="cmd" type="hidden" value="_s-xclick" /> <input name="hosted_button_id" type="hidden" value="A339CS7R7KPWW" /> <input alt="PayPal &ndash; The safer, easier way to pay online!" border="0" name="submit" src="https://www.paypalobjects.com/en_GB/i/btn/btn_cart_LG.gif" type="image" /> <img src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" alt="" width="1" height="1" border="0" /></form></td>
<td><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"><input name="cmd" type="hidden" value="_s-xclick" /> <input name="hosted_button_id" type="hidden" value="Q96Y2C2RG4AT8" /> <input alt="PayPal &ndash; The safer, easier way to pay online!" border="0" name="submit" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_buynowCC_LG.gif" type="image" /> <img src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" alt="" width="1" height="1" border="0" /></form></td>
<td><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal"><input name="cmd" type="hidden" value="_s-xclick" /> <input name="encrypted" type="hidden" value="-----BEGIN PKCS7-----MIIG1QYJKoZIhvcNAQcEoIIGxjCCBsICAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQ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ay online!" border="0" name="submit" src="https://www.paypalobjects.com/en_GB/i/btn/btn_viewcart_LG.gif" type="image" /> <img src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" alt="" width="1" height="1" border="0" /></form></td>
</tr>
</tbody>
</table>

 

1 ACCEPTED SOLUTION

Accepted Solutions
Solved

Problems with 'Add to Cart' button

Options
Go to solution
MTS_Ciaran
PayPal Employee

@Whalebone issue should be resolved now. We did a code release yesterday with a fix. Can you check and confirm your side?

View solution in original post

7 REPLIES 7

Problems with 'Add to Cart' button

Options
Go to solution
MTS_Ciaran
PayPal Employee

How do?

 

Just tested the add to cart button and was able to get to the cart page where an item is added, I'm using google chrome and just copied and pasted the code straight into a HTML page. 

 

Violin Book
Item number: TWW283
£12
 
Can you post a screenshot of what you are seeing and the URL from the error page please? Is it intermittent or happening all the time?

Problems with 'Add to Cart' button

Options
Go to solution
Whalebone
Contributor

Hi, thanks for replying. I'm using Safari.

 

 

Screenshot:

Screenshot 2017-01-13 12.17.14.png

It is happening all the time 😞

Problems with 'Add to Cart' button

Options
Go to solution
Whalebone
Contributor

This form will not let me send the url of the error page... stating that it contains 6 1209 6215 7855 2 65 

have had too put spaces in it that number for the form to go through! You need to take out the spaces in the number after 'mid=612' Smiley Surprised

 

https://www.paypal.com/webapps/shoppingcart?mid=612 09621 5785526 53121 576 21484 309 733&xclick_params=Y21kJTNkX2NhcnQlMjZidXNpbmVzcyUzZFRVTUpESDlWNDhGWkMlMjZpdGVtX25hbWUlM2RWaW9saW4lMjUyMEJvb2slMjZpdGVtX251bWJlciUzZFRXVzI4MyUyNmFtb3VudCUzZDEwJTJlMDAlMjZjdXJyZW5jeV9jb2RlJTNkR0JQJTI2bGMlM2RHQiUyNmJ1dHRvbl9zdWJ0eXBlJTNkcHJvZHVjdHMlMjZub19ub3RlJTNkMCUyNmNuJTNkQWRkJTI1MjBzcGVjaWFsJTI1MjBpbnN0cnVjdGlvbnMlMjUyMHRvJTI1MjB0aGUlMjUyMHNlbGxlciUyNm5vX3NoaXBwaW5nJTNkMiUyNnVuZGVmaW5lZF9xdWFudGl0eSUzZDElMjZybSUzZDElMjZyZXR1cm4lM2RodHRwJTI1M2ElMmYlMmZ3d3clMmV3aGFsZWJvbmUlMmRtdXNpYyUyZWNvbSUyZiUyNmNhbmNlbF9yZXR1cm4lM2RodHRwJTI1M2ElMmYlMmZ3d3clMmV3aGFsZWJvbmUlMmRtdXNpYyUyZWNvbSUyZiUyNnNoaXBwaW5nJTNkMiUyZTAwJTI2YWRkJTNkMSUyNmJuJTNkUFAlMmRTaG9wQ2FydEJGJTI1M2FidG5fY2FydF9MRyUyZWdpZiUyNTNhSG9zdGVkJTI2aW50ZXJuYWxfaXNfaG9zdGVkX2J1dHRvbiUzZHRydWUlMjZjaGFyc2V0JTNkVVRGJTJkOCUyNnZpc2l0b3JfaWQlM2Q2MjE1Nzg1NTI2NTMxMjE1NzYyJTI2bWVyY2hhbnRfZW1haWwlM2R3aGFsZWJvbmUlMjUyZG11c2ljJTI1NDB0aXNjYWxpJTI1MmVjbyUyNTJldWslMjZidXNpbmVzc19uYW1lJTNkV2hhbGVib25lJTI2bWVyY2hhbnRfaWQlM2RUVU1KREg5VjQ4RlpDJTI2d2FfdHlwZSUzZFNob3BwaW5nQ2FydCUyNnNob3BwaW5nX2NhcnRfZmxhZyUzZHRydWUlMjZob3N0ZWRfYnV0dG9uX2lkJTNkQTMzOUNTN1I3S1BXVyUyNiUyNlNISVBQSU5HX0FORF9UQVglM2QxJTI2&flowlogging_id=bf7679872eb9f#/checkout/genericError

Problems with 'Add to Cart' button

Options
Go to solution
MTS_Ciaran
PayPal Employee

Perfect.... thank you 🙂

 

I was able to reproduce, seems when clicking the button the second time it causes the error, first time works (if you clear cache and cookies), second time falls over.

 

I have a bug open internally for this. I'll keep you posted. 

Problems with 'Add to Cart' button

Options
Go to solution
Whalebone
Contributor

Thank you so much! Really appreciate your help Smiley Happy

Solved

Problems with 'Add to Cart' button

Options
Go to solution
MTS_Ciaran
PayPal Employee

@Whalebone issue should be resolved now. We did a code release yesterday with a fix. Can you check and confirm your side?

View solution in original post

Problems with 'Add to Cart' button

Options
Go to solution
Whalebone
Contributor

Yes! That has worked, all working now. Thank you 🙂

Haven't Found your Answer?

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