cancel
Showing results for 
Search instead for 
Did you mean: 

PayPal Buttons not working on Google Sites

Options
Go to solution
georgew77
Contributor
Posted on

PayPal Buttons recently quite working on our Google Sites hosted site.  Has anybody else run into this problem?  And how have you been able to resolve it?

1 ACCEPTED SOLUTION

Accepted Solutions
Solved

PayPal Buttons not working on Google Sites

Options
Go to solution
DaveM1
Contributor

Ok, for those still looking for a solution, I've manged to get it working with the "New" Google sites.

Take your button code and stick it in an embed box.....then....

 

Then edit the first line of code as follows:

Old Code: method="post" target="_top" Replace with: method="post" target="_blank"

Google just doesn't like you overriding their pages with other pages. This will open PayPal in a new tab.

View solution in original post

30 REPLIES 30

PayPal Buttons not working on Google Sites

Options
Go to solution
franD
New Community Member

We are having the same problem. Still trying to figure it out.

PayPal Buttons not working on Google Sites

Options
Go to solution
IdahoBurners
New Community Member

This was intentionally done by Google and for Classic sites there is no workaround. They indicated it was an attempt to stop malicious code executing on sites in HTML boxes. They also claim that there might be a workaround if you update your site from Classic to New. However, some sites cannot be converted and those sites are simply crippled. 

 

You will see it work just fine in the sites editor. But when you publish, it breaks. Because Google is crippling the code. 

PayPal Buttons not working on Google Sites

Options
Go to solution
georgew77
Contributor

I've figured out a solution.  It's not "pretty" but its functioning and that's all that matters until we complete the transition to new Google Sites.  What I've done is paste the PayPal button's code into my webpage's HTML code (at the place in the code where the "busted" PayPal Button current exists) using Google Sites's HTML Editor.  Once in edit mode, the HTML editor is located on the right side of the webpage's toolbar.  Warning: Its tedious.

PayPal Buttons not working on Google Sites

Options
Go to solution
Ktshoemaker
New Community Member
I used Google sites to get away from coding! Thanks for your help.

PayPal Buttons not working on Google Sites

Options
Go to solution
yellobello
Contributor

It worked finnally with editing the HTML code directly. Thanks a lot, you saved my day!

PayPal Buttons not working on Google Sites

Options
Go to solution
Ktshoemaker
New Community Member
That's just great. 😞 I was about to launch a site for a class reunion.

PayPal Buttons not working on Google Sites

Options
Go to solution
aart2000
Contributor

I too am having the same problem. I updated to the new google site and that's where everything went south. I found the embed code button and replaced all the paypal buttons. They show up, but none of them work. I click on them and nothing happens. Now what? I'm at a complete loss where to go to fix this. I don't know if it's google or paypal. I even created a new button thinking that it's an update thing. Nope, still don't work.

PayPal Buttons not working on Google Sites

Options
Go to solution
steveicarus
Contributor

On new google sites, I find that the buttons work if I'm using chrome, but they do not work (they show up but do nothing) on all other browsers. Weird. My workaround is to move the payment page to another hosting service. No way around it:-(

 

PayPal Buttons not working on Google Sites

Options
Go to solution
oilandspice
Contributor

This worked perfectly! Thank you so much!

Haven't Found your Answer?

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