Stripe

Payment gateways ::: paygw_stripe
Maintained by Alex Morris
Connect Moodle with Stripe to collect payments through various providers. E.g. credit cards, Alipay, Sofort. Requires a Stripe account.
Latest release:
1167 sites
647 downloads
42 fans
Current versions available: 2

Connect Moodle with Stripe to collect payments through various providers. E.g. credit cards, Alipay, Sofort.
Requires a Stripe account.

Setup

Watch this video showing the setup process:
  1. Install the plugin
  2. Enable the Stripe payment gateway
  3. Create a new payment account
  4. Configure the payment account against the Stripe gateway using your Stripe API keys
  5. Enable the 'Enrolment on Payment' enrolment method
  6. Add the 'Enrolment on Payment' method to your chosen course
  7. Set the payment account, enrolment fee, and currency
  8. All done! Try a test payment as an unenrolled learner by visiting the course

Details

Stripe offers 106+ currencies however certain payment gateways only support a subset of those.
E.g. Alipay only supports CNY and NZD currencies.

The plugin supports using promotion/coupon codes, automatic tax calculation, and subscriptions.

This plugin can be used with these payment gateways:

  • Card
  • Alipay
  • Bancontact
  • EPS
  • giropay
  • iDEAL
  • P24
  • SEPA Direct Debit
  • Sofort
  • WeChat Pay

Some of those payment gateways will only work in Stripe if you have provided additional verification details.

Warm Thanks

Thanks to E-learning Co., Ltd for sponsoring the work to add subscription support to this plugin.

Potential privacy issues

Email alex@navra.nz or create a GitHub issue

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4

Contributors

Alex Morris (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Mostrar comentarios
  • A A
    sáb, 18 de may de 2024, 14:12
    Any chance this will be updated for 4.4 support?
  • Rajib Bhattacharjee
    mié, 12 de jun de 2024, 18:33
    Hi Alex,
    We want to capture the Coupon Code used during the payment. Is there a way we can do it? Any help regarding this feature will be a great help.
    Regards,
    Rajib
  • Z C
    vie, 5 de jul de 2024, 13:11
    Hi Alex, just wondering how to enable to subscription function. If I set the subscription on the payment gateway to every 3 months, how do I allow for the subscription to occur in the "enrolment on payment" page for the individual courses. Do I select enrolment duration of 13 weeks; and let the stripe plugin do the job? TY :D
  • Quintin Seegers
    lun, 7 de oct de 2024, 10:05
    Hi Alex. We are using Moodle v4.3.7 and the latest version of this plugin (1.26) As of today (7th of October, 2024), we are getting an exception: No such webhook endpoint. We had no issues on the 27th of September 2024 when we last had a stripe payment via this plugin. As we only use this plugin for payment of our enrolled courses, an urgent resolution to this issue would be much appreciated.
  • Quintin Seegers
    lun, 7 de oct de 2024, 11:24
    FYI for those having a similar issue to my above: I emailed Alex directly and he provided the following solution:
    "...it sounds like the webhook has been deleted on the Stripe side somehow. You can have the plugin regenerate the webhook by deleting any rows in the `paygw_stripe_webhooks` table..." After deleting the two records in the table (we have to Payment Accounts for Stripe), the issue is resolved.
  • Robert Me
    jue, 17 de oct de 2024, 15:48
    Hi Alex, I love your plugin, it works great!

    There's one thing though I can't get to work. I work for a company based in the Netherlands. I am selling online courses worldwide to both businesses and private customers. To be compliant with EU VAT regulations, I have to collect the VAT number and billing address if I am selling to a EU business outside my home country. See also this article about the topic: https://dominiksumer.com/blog/stripe-checkout-eu-vat

    Is this possible using your plugin? It seems like it's not? On the checkout page I don't see an field where customers can fill in their VAT number and billing address...
  • Luci Setoue
    mié, 23 de oct de 2024, 13:49
    Amazing plugin! Anyone else having issues with discount codes? Discount is applied, but can't proceed to the payment checkout. Works fine with full priced items
  • P H
    mié, 30 de oct de 2024, 16:24
    Trying to upgrade from version 1.24 to 1.26 on Moodle 4.1+ and getting the following error:

    Installing available updates
    Downloading paygw_stripe ... OK
    Validating paygw_stripe ... Error
    [Error] Required Moodle version [2022112809]
    Installation aborted due to validation failure
  • Jonah Schroeder
    mar, 12 de nov de 2024, 00:32
    Hi Alex, this plugin is a lifesaver, thanks! One thing I'd love to be able to do is customise the product name - currently it defaults to the name of the course, and when it's a subscription model "Subscribe to Enrolment in ..." doesn't really make sense in my context. Is there any way to do this?
  • ryan lesperance
    mié, 13 de nov de 2024, 10:01
    Using Moodle 4.4 latest version of plugin. This plugin has worked seamlessly for the longest time but all of a sudden I am getting Forbidden
    You don't have permission to access this resource. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. The payment goes through to stripe but the process stops there and it fails to enrol the student. Any advice appreciated Thanks

    https://stage.proactivetraining.com.au/payment/gateway/stripe/process.php?component=enrol_fee&paymentarea=fee&itemid=342&session_id=cs_live_XXXXXXXXXXXXXXXX
  • Rajib Bhattacharjee
    dom, 22 de dic de 2024, 15:17
    Hi,
    I have setup a monthly subscription using the plugin. My confusion is when we setup Monthly Subscription for the stripe in the payment accounts page do we need to provide the enrolment duration in the "Enrolment on Payment" page and what should be the value of it if we do. Right now I have set the value of course "enrolment duration" as 30 days (considering 30 days a month). Is that fine?
  • Alex Morris
    dom, 22 de dic de 2024, 15:19
    You do not need to set an enrollment duration. I'd recommend leaving it empty.
  • Elnur Veliyev
    mié, 25 de dic de 2024, 04:13
    Hi, is it posible to get support on your product?

    I sent you email in November, but didn't get answer.
    I needed to add VAT, customer billing address on invoice and enable sending of invoice with one time payment.
    So I asked one developer to help. It worked, but now once one enrolls all guest on the website can access the course directly, while only logged in users are requested to pay.

    Could you assist with that, or do you maybe have another plugin to sell?
  • Michael Milette
    mar, 18 de feb de 2025, 01:55
    Is this plugin compatible with Moodle 4.5 LTS?
  • D S
    mar, 15 de abr de 2025, 06:35
    Is there a way to use this plug-in to charge at the whole school level instead of per-course? I want users to pay a recurring monthly fee but for the entire school, not just per-course.
1 2 3 4 5 6
Please login to post comments