Jump to content


Photo

Donation button not working


  • This topic is locked This topic is locked
4 replies to this topic

#1 SteveH

SteveH

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 22 May 2005 - 06:29 PM

Hi,

I'm trying to stick a donation button on my web page. here's the HTML:

<form>
</form><form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick"/>
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"/>
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHDgYJKoZIhvcNAQcEoIIG/zCCBvsCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYA9amogGCEZPeoPDHR11oezPKh/MNisgmP3tnD8vh0L/qGWSxxHILA92U8FJ2LvBbDDFRNrrtK23FbKby8ehhXN1Yrfj2QN00LzV3sRivyY2EDXGIQNTqeFm9UsOjlByfJ6JQsZwBHtDH/QLcDc402pwjdjagOIfl1P1sEmyCk0yzELMAkGBSsOAwIaBQAwgYsGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIFWBEschfWvWAaGkVMofFMtAevXAeRWjjoEjRUu9zs0mvm1wcj58K+5VD+W4w1EZJPAjMNgrWC4lhB3XTbL0d3Qg56Jn8aCCqYcXmQSVdoDWcZikPRHp4005l1yC4WpXPzdaDXz7sq17wHm274wqF4G5goIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVm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W93YDWzFGvruKnnLbDAF6VR5w/cCMn5hzGCAZowggGWAgEBMIGUMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDUwNTIzMDEwOTM3WjAjBgkqhkiG9w0BCQQxFgQUYxEeAo4aTHdek1inZUIglWRg1b0wDQYJKoZIhvcNAQEBBQAEgYAQM3WBK8qMwRSYOnkwECnmEIXUeWXSxEFK9kABVLVHc3n4GWbh2h78/5rfHVmv0Fk+CCKnJ386452P2agsPexWzl6MjUYHHJnePQB7zbffque2y4bx1LhDfdFZ6aOoEjZSBCS26v+YlFZRU81weLX+V0/02yfiM4YbP1Gg6leGGg==-----END PKCS7-----
"/>
</form>

When you click on it, you go to a page that says.

We are sorry that we are experiencing temporary difficulties. Please try again later.

Message 5302

Does that mean the button's OK and the site's down?

Thanks.


#2 PayPal_Mike

PayPal_Mike

    Advanced Member

  • Members
  • PipPipPip
  • 37 posts

Posted 26 May 2005 - 11:40 AM

SteveH,

This error has shown up with some members encrypted buttons lately. The only fix for the time being is to go back into PayPal and create an unencrypted button.

Mike Thomson
PayPal Tech Support
PayPay, an eBay company
www.paypal.com

#3 dbomer

dbomer

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 24 June 2005 - 08:27 AM


I was hoping my solution helps everybody that is having this problem but it probably won't help you. Looks like your code is a solid block, which is normal, and required.

In my case I copied my PayPal-generated forms code to notpad so that I could save them for future use. Later, when I did a copy-and-paste from notepad to my HTML editor they inserted with two line breaks (CR/LF) after every 162 characters in the encryted code. I didn't think anything about it at the time but after reading four threads on this subject I removed the breaks and the buttons work fine.

I don't know what caused the breaks, as notepad didn't show breaks at these locations???

Code before:
<input type="hidden" name="encrypted" value="-----BEGIN

PKCS7-----MIIHoAYJKoZIhvcNAQcEoIIHkTCCB40CAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWw

gSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCVNqNd07fTpNxrz23tBxHHncti90xB ... Etcetera

Code after:
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHoAYJKoZIhvcNAQcEoIIHkTCCB40CAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCVNqNd07fTpNxrz23tBxHHncti90xB ... Etcetera

Good luck and hope this resolves the issue with others.

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by SteveH
[br]Hi,

I'm trying to stick a donation button on my web page. here's the HTML:

<form>
</form><form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick"/>
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"/>
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHDgYJKoZIhvcNAQcEoIIG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wOTM3WjAjBgkqhkiG9w0BCQQxFgQUYxEeAo4aTHdek1inZUIglWRg1b0wDQYJKoZIhvcNAQEBBQAEgYAQM3WBK8qMwRSYOnkwECnmEIXUeWXSxEFK9kABVLVHc3n4GWbh2h78/5rfHVmv0Fk+CCKnJ386452P2agsPexWzl6MjUYHHJnePQB7zbffque2y4bx1LhDfdFZ6aOoEjZSBCS26v+YlFZRU81weLX+V0/02yfiM4YbP1Gg6leGGg==-----END PKCS7-----
"/>
</form>

When you click on it, you go to a page that says.

We are sorry that we are experiencing temporary difficulties. Please try again later.

Message 5302

Does that mean the button's OK and the site's down?

Thanks.

<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

Regards,
Don...

#4 PayPal_Mike

PayPal_Mike

    Advanced Member

  • Members
  • PipPipPip
  • 37 posts

Posted 25 June 2005 - 12:03 PM

SteveH,

dbomer is right. Do what he said if you want to use the encrypted button code.

Mike Thomson
PayPal Tech Support
PayPay, an eBay company
www.paypal.com

#5 notgood

notgood

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 02 October 2007 - 03:53 PM

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by SteveH
[br]Hi,

I'm trying to stick a donation button on my web page. here's the HTML:

<form>
</form><form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick"/>
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"/>
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHDgYJKoZIhvcNAQcEoIIG/zCCBvsCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2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bffque2y4bx1LhDfdFZ6aOoEjZSBCS26v+YlFZRU81weLX+V0/02yfiM4YbP1Gg6leGGg==-----END PKCS7-----
"/>
</form>

When you click on it, you go to a page that says.

We are sorry that we are experiencing temporary difficulties. Please try again later.

Message 5302

Does that mean the button's OK and the site's down?

Thanks.

<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users