# Stripe Donations Plugin

**URL:** https://meta.discourse.org/t/stripe-donations-plugin/59036
**Category:** Plugin
**Created:** [13 maart 2017 om 23:11 UTC](https://meta.discourse.org/t/stripe-donations-plugin/59036 "2017-03-13T23:11:53Z")
**Posts on this page:** 1
**Showing post:** 24

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [25 november 2017 om 10:54 UTC](https://meta.discourse.org/t/stripe-donations-plugin/59036/24 "2017-11-25T10:54:31Z")

</div>

> [@meglio](#):
>
> Is it possible to implement it and add it to the composer toolbar?

I tried to implement the checkout button in posts but it wouldn’t render correctly.

More on that here:

> [@Getting a Stripe Checkout button (\<script\>, \<form\> tags) rendering in a post (via plugin).. help required](https://meta.discourse.org/t/getting-a-stripe-checkout-button-script-form-tags-rendering-in-a-post-via-plugin-help-required/71967):
>
> I’m currently working on the [Discourse Stripe Donations plugin](https://github.com/chrisbeach/discourse-donations), forked from @rimian’s original work. I’m close to getting a [Stripe Checkout button](https://stripe.com/checkout) displayed within a forum post, but something is preventing the Stripe HTML snippet (an inline script tag) from running. [Example here](https://se6.life/t/testing-payment-link/43) 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 hea…

I have, however, got the checkout button to render on a static page in my work-in-progress new plugin. I’ll post details when the plugin is complete.

> [@meglio](#):
>
> Can the badge be selected automatically depending on the amount donated?

Not at the moment but you’re welcome to submit a PR to [my fork](https://github.com/chrisbeach/discourse-donations)

I’ll answer the remainder of your post soon

---

_[View the full topic](https://meta.discourse.org/t/stripe-donations-plugin/59036)._
