Starting September 1, 2021, classic Sites will not be viewable by others. Learn how to convert to new Sites today.

/sites/community?hl=en
This content is likely not relevant anymore. Try searching or browse recent questions.
How do I add Stripe Checkout to my website through google sites?
0
I have a code snippet that stripe says to copy into the body of my webpage to add a payment button that redircets customers to Checkout. I've tried inserting as embedded and pasting as code font into a text box. Neither have worked. What do I do?
Details
Pinned
Locked
Latest Update Latest Updates (0)
Relevant Answer Relevant Answers (0)
All Replies (16)
Relevant Answer
You use the Embed code feature to add this kind of code.  These instructions, with demonstration video may help:
Let us know if you need any further help.
marked this as an answer
Relevant Answer
Tried this as well yet the button won't fire. 
Paypal works without a glitch, but Stripe doesn't
marked this as an answer
Relevant Answer
Hi,
 
thanks for your answer.
 
Without knowing the the code you try, it is hard to say what could be going wrong.
Perhaps you will also find help in the Stripe support channels:
 
marked this as an answer
Relevant Answer
marked this as an answer
Relevant Answer
Checked with stripe support (chat), they say it could be this code is blocked on google pages. He also mentioned that it's very recent code.
marked this as an answer
Relevant Answer
I have EXACTLY the same problem - PayPal works fine but the Stripe button does nothing.
marked this as an answer
Relevant Answer
Hi,
 
thanks for your answer.
There is a lot of cookies and session stuff in the script you try to embed. Please note, the custom code is placed in a sanitized iframe. The page loaded in that iframe is getting a new URL on every pageload. So there is no way I know to work with cookies, session storage and so on that way.
 
You should better have a look at creating an own web app with Google Apps Script and embed this to your GSite. More info here: https://developers.google.com/apps-script/guides/web 
 
marked this as an answer
Relevant Answer
When I plug in the PayPal HTML into Google Sites, I receive an error message, and then I'm prompted to reload. Does anyone have any recommendations on how to embed the code?
marked this as an answer
Ham Radio and Google Sites User, not a Google Employee
Relevant Answer
Edward Darrsh:
 
Have you tried any of the following troubleshooting steps?  
If it works in the incognito mode this indicates that you have an extension that is causing the problem. It may be an ad blocker or another extension. The Grammarly extension has often been the culprit.
 
marked this as an answer
Relevant Answer
Thank you. I really appreciate all your help.
marked this as an answer
This question is locked and replying has been disabled.
Discard post? You will lose what you have written so far.
Write a reply
10 characters required
Failed to attach file, click here to try again.
Discard post?
You will lose what you have written so far.
Personal information found

We found the following personal information in your message:

This information will be visible to anyone who visits or subscribes to notifications for this post. Are you sure you want to continue?

A problem occurred. Please try again.
Create Reply
Edit Reply
This will remove the reply from the Answers section.
Notifications are off
Your notifications are currently off and you won't receive subscription updates. To turn them on, go to Notifications preferences on your Profile page.
Report abuse
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
Report post
What type of post are you reporting?
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
This reply is no longer available.
/sites/threads
//accounts.google.com/ServiceLogin
You'll receive email notifications for new posts at
Unable to delete question.
Unable to update vote.
Unable to update subscription.
You have been unsubscribed
Deleted
Unable to delete reply.
Removed from Answers
Removed from Updates
Marked as Recommended Answer
Marked as Update
Removed recommendation
Undo
Unable to update reply.
Unable to update vote.
Thank you. Your response was recorded.
Unable to undo vote.
Thank you. This reply will now display in the answers section.
Link copied
Locked
Unlocked
Unable to lock
Unable to unlock
Pinned
Unpinned
Unable to pin
Unable to unpin
Marked
Unmarked
Unable to mark
Reported as off topic
Known Issue
Fixed
Marked Fixed
Unmarked Fixed
Unable to mark fixed
Unable to unmark fixed
/profile/0
false
Search
Clear search
Close search
Google apps
Main menu
Search Help Center
true
70
false