Sorry — your last action could not be completed

ekaffen338
Contributor
Contributor

I have had paypal buttons on my site for a while now. I just recently started to get customers telling me they can't pay online. I have some customers still able to pay. I noticed that if I clean the browser history I can put one item in my cart. I need users to be able to add more than one item. Paypal customer service, when I called in, told me I needed to have add to cart buttons without drop downs. I made one page with buttons so far and I still get the Sorry page. The page I changed is...http://www.westcountybasketball.com/skillsdrillsform.html

 

The the first button code is...

<form target="paypal1" action="https://www.paypal.com/cgi-bin/webscr" method="post" >
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHXwYJKoZIhvcNAQcEoIIHUDCCB0wCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCkUe7tUJ7chwGc0JQCfSURKbf2HTNSiFlD8uVt8lK8Z62Rc2OW9/Oy7Xy1H59wHXnoBZ300Ej0WxSMQ9UY3Fk8C1/mdjbFsBYwphpgWIbQPxtaZ3eYQ5XpMuYmIe/46HgLLGkGZ05hDOzk6Xso6v345flvwd+OsUy8MCk+XBOYhzELMAkGBSsOAwIaBQAwgdwGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIO+tdPQj9CIGAgbjcBjSu5FLNWhjYPG0/RiS6VGiDxrn5cJBBvX3c2IN3n+41sHMhHNbj919p60m0cXIuoYxYyVylDz45fm4a/YwPF/aOWstUr8FHWxn9ResHt9oOXwHGJ2jjNCdX7nnxWMeVwupanX/QcLyCRB0Rkcqx9c+uDzf+uE4KREHPIIKryfqcMceUm5D9MLl+RjKkOsp3PTrAbMS9Ct+TjgdgTnUFu9zpNCScg84i0vah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Ba5e9fo6ujionW1hUhPkOBakTr3YCDjbYfvJEiv/2P+IobhOGJr85+XHhN0v4gUkEDI8r2/rNk1m0GA8HKddvTjyGw/XqXa+LSTlDYkqI8OwR8GEYj4efEtcRpRYBxV8KxAW93YDWzFGvruKnnLbDAF6VR5w/cCMn5hzGCAZowggGWAgEBMIGUMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTMwNzA5MTYxNDM4WjAjBgkqhkiG9w0BCQQxFgQUFMUsUva/Rd05K4SQxQfo/buSuSIwDQYJKoZIhvcNAQEBBQAEgYA7EdhQRpUIHM3PvnavNc5lwAoy9GJ+YatXWwCEsfBRlWFN2SP57gQnDEXUm+tpn/DPZcdOOPuVL85sxEdcMnn9CUqs4hpyur4QVe9RP6w3xve4aypo3eUNdukBRmnUoSnqWhZaKsolAYDepLg73vrfkoAsK/8qvH9YNuUsv0vP5Q==-----END PKCS7-----
">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">

</form>

 

A page with dropdowns..

http://www.westcountybasketball.com/summercampform.html

 

Thanks for any help!

Login to Me Too
5 REPLIES 5

snowshoe
Frequent Advisor
Frequent Advisor

Sometimes when working with "encrypted" item button code, when you place the code in your web page, either your HTML Editor or site may corrupt the code by either changing a character, including a space or something else.  This in turn causes the code to fail.

 

Suggest recreating the code, then remove the encryption, next copy and paste the code in your web page.

 

Some tips:

 

* The best way to work with and test item button code is to first copy the code to a blank web page, save the page locally and then test with your browser or browsers.  If the code works, then you can copy the code to your live web page.

 

* When testing your web pages, creating new code or making changes, etc., always delete your web browser's cookies, temp files and history, then close your web browser, reopen it and then test your page.  Retaining previous cookies, temp files and history may cause unexpected results.

 

 

As for what I mean concerning a "blank" web page for testing code, see the example below.  Just save your page with a name and extension of .htm or .html.

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title>Test</title>

<!-- START META TAG SECTION -->
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta http-equiv="Content-Language" content="en">
<!-- END META TAG SECTION -->



</head>

<body>

<!-- INSERT TEST CODE HERE -->





<!-- END TEST CODE SECTION -->



</body>
</html>

 

 

 

Login to Me Too

ekaffen338
Contributor
Contributor

I am using dreamweaver to code the site. Would that change the code?

 

 

Login to Me Too

snowshoe
Frequent Advisor
Frequent Advisor

Quite possible, HTML Editors like Dreamweaver will automatically enumerate form variables in your HTML code.   The variables names will have numbers appended to them (examples - cmd0, business0, item_name0, cmd1, business1, item_name1, hosted_button_id1, cmd2, business2, item_name2, hosted_button_id2, etc).  

 

If you look at your first line of code:

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

When you generated that item button code, there is no "paypal1", it would be "paypal".   As you're using encrypted code, it's quite difficult to determine what else may have been changed.   If the code was unencrypted, we could easily tell what was changed.  Note, the changing of "paypal" to "paypal1" is not the problem but, does indicate that your code is being altered.

Login to Me Too

MFHPG
New Community Member

This error is occuring on my site with no code changes in the HTML.

 

It appears to be a change/error in the way that PayPal handles the cookie, as deleting the cookie allows a single item to be added to cart again.

 

The second item added then triggers the error (item order is irrellevant).

 

This occurs even in a simple HTML page with only the items and buttons in it.

 

Anyone have any other thoughts/ideas on work arounds or recently reported bugs that might explain this behaviour?

Login to Me Too

MFHPG
New Community Member

It appears to be an error in Paypal related to the handling of the encrypted hidden values.

The error does not generate on the un-encrypted versions of buttons but continues on the encrypted versions.

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.