Stripe Donations Plugin

Hi @rimian,

I tried installing the plugin but my forum wouldn’t start with the plugin installed unfortunately. The unicorn logs contain a “method not found” error.

I have raised a Github issue with the full log output

If you are no longer maintaining the discourse-donations plugin (that is, if I don’t hear back on this issue), I will attempt to fix the plugin on my fork of it: GitHub - chrisbeach/discourse-donations: A discourse plugin for accepting donations via Stripe · GitHub

My original reason for forking the discourse-donations plugin is to add markdown support for creating Stripe Checkout buttons:

With my changes, Stripe checkout forms can be added to forum posts using markup:

[stripe amount=999 image=/img/someImage.png]
    Widget
[/stripe]

Which renders as:

<form action="/charges" method="POST">
    <script 
        src="https://checkout.stripe.com/checkout.js" 
        class="stripe-button"
        data-key="pk_test_6pRXXX"
        data-amount="999"
        data-name="Your Shop"
        data-description="Widget"
        data-image="/img/someImage.png"
        data-locale="auto">
    </script>
</form>
3 лайка