Need help with copy/paste PayPal Button script not working

technosapien
New Community Member

I am doing a high-school reunion website and need to collect payment for tickets. I used PayPal to build the appropriate button- here's the code I used (see below) and I get this error message- 

Not Acceptable!

An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

 

Anyone know how to fix this? I'm stumped. 

Alan in Oakland

 

<script src="https://www.paypal.com/sdk/js?client-id=BAAS58phBQKHa9EvcD9xKvlMm62gpymEm777dKxMbLyUHQR8TYLne0aVsdXo..."></script>

<div id="paypal-container-8MLZTKD8WWFE2"></div>

<script>

  paypal.HostedButtons({

    hostedButtonId: "8MLZTKD8WWFE2",

  }).render("#paypal-container-8MLZTKD8WWFE2")

</script>

An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

Login to Me Too
1 REPLY 1

scooter78
Contributor
Contributor

The script (buttons stay on the left) . It would have been smarter if it was by default centered. Not useable as it is.

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.