I’m close to getting a Stripe Checkout button displayed within a forum post, but something is preventing the Stripe HTML snippet (an inline script tag) from running.
As you can see, the button doesn’t render in the post. Yet the DOM contains HTML elements which should cause the button to be rendered :
When I enabled a customised header with the same Stripe HTML, it worked perfectly. So, that rules out problems with the Stripe HTML or the interaction with Stripe’s server.
Below I’ve listed some things I have tried. Any more suggestions would be much appreciated
Enabling CORS in app.yml:
env: DISCOURSE_ENABLE_CORS: true
Liberal CORS origins:
(I also tried a few different stripe https://… domains and sub domains in here without success)