Sorry, button question

whatever101
Contributor
Contributor

I have searched this forum but nothing has solved the problem.

 

I cannot get any of my Buy Now buttons to work on: www.newboatgear.co.uk

 

Using different browsers, the buyer either gets taken to a blank page, the pages freezes, nothing happens or a new window opens with paypal homepage showing.

 

PayPal help desk said they can't even see the buttons on my website !

 

Any help much appreciated,

Thank you

 

An example of the code given is:

<form 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-----MIIHZwYJKoZIhvcNAQcEoIIHWDCCB1QCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYB/b40/4o8ajptB0C5YUnGezd++XPy0XsAU/J9yX720FVDv1pnuUtxrg7OepYNhL25UlVAh05Aet0sfu4pq3bOa9LqmG3E2RacINqU9NhOOSrIaNuguAOe5bwHj9sU1V4cZfpy3bw6pPopGXsF2fc6XeX6g+0SawzUwVWG+XWMuFjELMAkGBSsOAwIaBQAwgeQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIpjInS+RJDHCAgcC98iTsjK3RUs4EBlx0AimL4Pda3QAIUzHopwxbBVsSswkEmcyQmw0M3SSum9KGQv8OKe0oyaAjRzZxAePplOb614PxcycYf5/MhF8Qe5RW9HBHt/+/w/bU4SbCGDzgu6XFKFDmd77sKsHj6c691Rg5NEwNaMPb66R056fMGT8j/IHroPUSrZvUbWZe/ICcZcI+6ZYVWd1JHmciJD2H4DnFeRPGghs+QNfdvB7gMZs+FAsc/DGu/c3demXgoZfk4aagggOHMIIDgzCCAuygAwIBAgIBADANBgkqh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BSQQMjyvb+s2TWbQYDwcp129OPIbD9epdr4tJOUNiSojw7BHwYRiPh58S1xGlFgHFXwrEBb3dgNbMUa+u4qectsMAXpVHnD9wIyfmHMYIBmjCCAZYCAQEwgZQwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMzAyMTgwMTAxMjZaMCMGCSqGSIb3DQEJBDEWBBSO+VUy6JsNz46eoa3ypoG/g1+UdjANBgkqhkiG9w0BAQEFAASBgIHM/J4WhOevvYx5eDS4z+4P01gN+X+uZ698uMx/zqAXVV2xwaLEdYJM+9fkhJJhBaf6T5RbBYdp8Hi8foChcCtBfVG92MD0WPUixLoaH+7XG5tJvL+Rn9o6fLJd8kzr4vkZPOb0JdMWpGRhSJEsz5uADVCbU/1mzvn17qy/fslt-----END PKCS7-----
">
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

snowshoe
Frequent Advisor
Frequent Advisor

Correct, I agree with the PayPal folks, the item button code is not displaying on your web page however, the info below is most likely causing your issue:

 

Your web site or pages uses "Frames".

 

PayPal does not allow the use of their payment pages to be displayed inside of a Frame. For security reasons, PayPal members are warned never to enter their PayPal account password into any page whose URL does not begin with https://www.paypal.com/.

 

When the PayPal logos are used in a Frame, the PayPal URL is not displayed, nor is the security lock displayed in the browser. This can also cause Run Time errors for most browsers if using Javascript on the web site.  According to the PayPal User Agreement you are prohibited from using a PayPal logo to display a PayPal payment page of any kind inside of a Framed Page.

 

There is good news and a workaround.  Simply add target="paypal" in the <form action> tag of the HTML code. This will prevent the PayPal payment page from being displayed in a Frame. The corrected line of code should look like this:

 

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

 

 

Suggest editiong your item button code. After you do that, delete your web browser's cookies, history and temp files. Then close your web browser, reopen it and then test the code again.

 

Another tip for testing.  Whenever you generate new item button code, first copy and paste the code to a totally blank web page, not the page you intend to use it on.  Save the blank page with the button code and then test the code to make sure it works OK by itself.  Now that you know you have a working button, copy it to your actual web page.  If the code fails there, there, the problem is with your web site or page, not PayPal.

 

As I cannot really test your code, that's all I can say for now.  The code example you posted does not work, if gives a securitry certificate error.  Could be several reasons for that, but's for now, try the fix recommended above first.

View solution in original post

Login to Me Too
4 REPLIES 4
Solved

snowshoe
Frequent Advisor
Frequent Advisor

Correct, I agree with the PayPal folks, the item button code is not displaying on your web page however, the info below is most likely causing your issue:

 

Your web site or pages uses "Frames".

 

PayPal does not allow the use of their payment pages to be displayed inside of a Frame. For security reasons, PayPal members are warned never to enter their PayPal account password into any page whose URL does not begin with https://www.paypal.com/.

 

When the PayPal logos are used in a Frame, the PayPal URL is not displayed, nor is the security lock displayed in the browser. This can also cause Run Time errors for most browsers if using Javascript on the web site.  According to the PayPal User Agreement you are prohibited from using a PayPal logo to display a PayPal payment page of any kind inside of a Framed Page.

 

There is good news and a workaround.  Simply add target="paypal" in the <form action> tag of the HTML code. This will prevent the PayPal payment page from being displayed in a Frame. The corrected line of code should look like this:

 

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

 

 

Suggest editiong your item button code. After you do that, delete your web browser's cookies, history and temp files. Then close your web browser, reopen it and then test the code again.

 

Another tip for testing.  Whenever you generate new item button code, first copy and paste the code to a totally blank web page, not the page you intend to use it on.  Save the blank page with the button code and then test the code to make sure it works OK by itself.  Now that you know you have a working button, copy it to your actual web page.  If the code fails there, there, the problem is with your web site or page, not PayPal.

 

As I cannot really test your code, that's all I can say for now.  The code example you posted does not work, if gives a securitry certificate error.  Could be several reasons for that, but's for now, try the fix recommended above first.

Login to Me Too

whatever101
Contributor
Contributor

Many thanks.

 

You are a star. Paypal have not been able to tell me that.

 

I have applied your fix to one of my buttons (the clothing I am selling and it WORKS!)

 

Thank you so much.

 

I will now attempt to post this and give you Kudos (some IT things I can do and some I can't)

 

Thanks again.

Login to Me Too

whatever101
Contributor
Contributor

There, I even managed to give Kudos; you certainly deserve it.

 

Thank you.

Login to Me Too

snowshoe
Frequent Advisor
Frequent Advisor

Haven't Found your Answer?

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