View Cart sometimes doesn't work and Sporadic Behavior with View Cart

chromacast
Contributor
Contributor

1. the site is kareprints.com and with Chrome, often users are not able to click the View Cart button and see their cart contents.    The code for the View Cart is as follows:

 

form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">

<input type="hidden" name="business" value="something is here that is correct">

<input type="hidden" name="cmd" value="_cart"> 

<input type="hidden" name="display" value="1"> 

<!-- Display the View Cart button. --> 

<input type="image" name="submit" border="0" src="http://www.kareprints.com/wp-content/uploads/2014/11/Blue-cart-button-with-glow.png" class="nicefade" alt="PayPal - The safer, easier way to pay online"> 

<img alt="" border="0" width="1" height="1" src="https://www.paypal.com/en_US/i/scr/pixel.gif" > 

</form> 

</div>

 

2.   The second problem is sometimes, if you put something in your cart, and return to another tab to continue shopping, your cart will show empty when you View Cart.   This always worked and for some reason, around the end of September, it started not working.  Thank you for your assistance.

 

 

Login to Me Too
3 REPLIES 3

Quandary
Advisor
Advisor

Are you using the correct "business" variable value ??   In other words, I looked at the source code on your web site page, is that the correct email address ??

Login to Me Too

chromacast
Contributor
Contributor

Yes, thank you that is the correct email address.  It has worked fine and then stopped working sometime in late September.

Login to Me Too

chromacast
Contributor
Contributor

In the HTML for View Cart, we noticed that the pixel URL recommended by PayPal had changed from

 

<img alt="" border="0" width="1" height="1" src="https://www.paypal.com/en_US/i/scr/pixel.gif" > 

to:  

<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">

 

We also changed the variable that was name="businesss" from using the email address for the PayPal account to the one showing in the button code (a string of characters).      I have changed this but here is what the line now is (with a made up value):

 

<input type="hidden" name="business" value="MRWP4C78YRNHY">

 

These two changes seemed to make the view cart button work.   Strange, the old code was working up until sometime late September and started being wonky.   Glad it is fixed, hope this helps others.

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.