Stripe Payment (Form within post)


Just wondering is there a way to put a Stripe payment form within a post.

We sell club stickers on our site and normally use paypal which works but want to move over to Stripe payment gateway.

Just wondering if there is a way to embeded it within a post at all.

<*form action="/your-server-side-code" method=“POST”>

<*/script> <*/form> Thanks in advance.

(Jeff Atwood) #2

You cannot use arbitrary HTML in posts so you would need a plugin.

(Chris Beach) #3

I started a Discourse Stripe plugin, but it’s currently unfinished, and postponed in favour of other personal projects:

In my working copy I’ve migrated to ES6 and am trying to write unit tests, but without more canonical examples in the Discourse plugin guide I have to admit I’m struggling.