The problem ended up being that the database did not accept the line breaks in the code and output them as one long string.
Here is an email explaing I got from Pay-Pal.
Here is a shorted example of what the currently encrypted button looks
like:
<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-but23.gif" border="0"
name="submit" alt="Make payments with PayPal - it's fast, free and
secure!">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7----- MIIG7QYJKoZIhvcNAQcEoIIG3jCCBtoCAQExggEwMIIBLAIBADCBlDCBjjELMAkG
A1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQw
EgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UE
AxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJ
KoZIhvcNAQEBBQAEgYCt/r7B4ZYu+6k/O1uxiHhcvrOuilRLMv4g2S2l/l2Hqn9C
MfM3TzETEn8et/LCRcTyEEJuAhMC4/RWtQz/WVbRBQbNAEO7+Ac4vtPWPMn+Q4Aa
dE6Yfyt68JyoF2T3ieqHkBg+LGAwqDLhmhmyKu5XQnfPD8wzOpH1gqvSmtXGTTEL
MAkGBSsOAwIaBQAwawYJKoZIhvcNAQcBMBQGCCqGSIb3DQMHBAjrG/6Muh8oQIBI
<!--Example Truncated-->
8A==
-----END PKCS7-----
">
</form>
Notice how the code is formatted in individual lines instead of one
continuous string. To change the code to be one continuous string,
simply place your cursor at the end of each line and hit the delete
key on your keyboard. Be VERY careful not to delete any of the
characters in the string. The example below shows what the code
should look like half way through the process:
<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-but23.gif" border="0"
name="submit" alt="Make payments with PayPal - it's fast, free and
secure!">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----
MIIG7QYJKoZIhvcNAQcEoIIG3jCCBtoCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVM
xCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW
5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BC
QEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCt/r7B4ZYu+6k/O1uxiHhcvrOu
ilRLMv4g2S2l/l2Hqn9C MfM3TzETEn8et/LCRcTyEEJuAhMC4/RWtQz/WVbRBQbNAEO7+Ac4vtPWPMn+Q4Aa
dE6Yfyt68JyoF2T3ieqHkBg+LGAwqDLhmhmyKu5XQnfPD8wzOpH1gqvSmtXGTTEL
MAkGBSsOAwIaBQAwawYJKoZIhvcNAQcBMBQGCCqGSIb3DQMHBAjrG/6Muh8oQIBI
<!--Example Truncated-->
8A==
-----END PKCS7-----
">
</form>
Here is how the code should look after each break in the code has been
removed:
<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-but23.gif" border="0"
name="submit" alt="Make payments with PayPal - it's fast, free and
secure!">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----
MIIG7QYJKoZIhvcNAQcEoIIG3jCCBtoCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVM
xCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW
5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BC
QEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCt/r7B4ZYu+6k/O1uxiHhcvrOu
ilRLMv4g2S2l/l2Hqn9CMfM3TzETEn8et/LCRcTyEEJuAhMC4/RWtQz/WVbRBQbNAEO7+Ac4vtP
WPMn+Q4AadE6Yfyt68JyoF2T3ieqHkBg+LGAwqDLhmhmyKu5XQnfPD8wzOpH1gqvSmtXGTTE
WPMn+Q4AadE6Yfyt68JyoF2T3ieqHkBg+LMA
kGBSsOAwIaBQAwawYJKoZIhvcNAQcBMBQGCCqGSIb3DQMHBAjrG/6Muh8oQIBI<!-Example
Truncated-->8A==-----END PKCS7-----">
</form>
If you delete any part of the code when attempting to remove all of
line breaks, you will need to create a new payment button to replace
it. The button will not function if it is not complete.
If you are still having an issue after the line breaks have been
removed, I would suggest trying an unencrypted button to see if the
error persists. To create an unencrypted button, simply select "No"
when asked in the button factory if you would like your button to be
encrypted.