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:
943 sites
564 downloads
30 fans
Current versions available: 1

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

Show comments
  • Patrik Lindqvist
    jue, 29 jun 2023, 12:45 AM
    I realized now why it is not working. When a code is 100% off or if there is a set amount which ends up in a free course and then it states that the coupon is not valid.

    Are there any plans to support 100% coupons in the near future?
  • Stefano Tirati
    jue, 3 ago 2023, 11:53 PM
    Dear Alex, we would like to localise the plugin into Italian. Could you provide assistance to us on how to proceed?
  • Alex Morris
    vie, 4 ago 2023, 5:37 AM
    Hi Stefano, you should submit the translations through the AMOS system: https://lang.moodle.org/ https://docs.moodle.org/402/en/AMOS_manual
  • Jesús Moreno
    sáb, 19 ago 2023, 8:40 PM
    Hi! Is possible to make a suscription monthly payment with thist plugin? Also to assign roles depending on the monthly payed and open new contents according to it.
  • Alex Morris
    dom, 20 ago 2023, 10:12 AM
    Hi Jesús, monthly subscriptions are supported. Assigning roles is not supported.
  • Jesús Moreno
    sáb, 26 ago 2023, 11:05 PM
    Hi Alex! Thanks for your response. I saw in the video that is possible to asign roles automatically after paying. I'm wondering to open the new content just a month after receiving the role just coordinated with the role assignement through the Stripe suscription payment.

    Do you know if it is possible to assign the roles for a month? And, what happen when the user stops paying? Is it possible to revoke the role?

    Thanks a lot for your help
  • Huw Roberts
    vie, 8 sept 2023, 7:16 PM
    Hi Alex,
    Thanks for the plugin.
    FYI i was using a the stripe api from 2015 which caused a 400 error on the webhook.php - updgrading the stripe api to the 2023 version solved the issue
  • Patrik Lindqvist
    mar, 12 sept 2023, 10:29 PM
    Hi Alex
    I sent a message in late June that a 100% coupon is not working. Please if you could send an update if there is a chance to this in the near future?
  • Alex Morris
    lun, 18 sept 2023, 11:27 AM
    Hi Patrik, that's a problem with Stripe, not the plugin. Stripe needs to support 100% discounts within checkouts for that to work.
  • Jun Saito
    lun, 16 oct 2023, 10:46 AM
    Hi Alex,
    Thank you for the excellent plugin.

    I've got an issue with the customer's email address shown on Stripe's checkout page. We use the version 1.24.

    When a user who has already logged in to our Moodle site accesses the checkout page on trying to enroll them in a course through your plugin, their email address automatically appears in the form on the right side of the checkout page. The form is grayed out and can't be editable, thus the user can't change the email address there.
    This automatically shown email address seems to be the one that the user registered in our site when they created their account for the first time. The thing is that even if they change the email address on our site through their profile page, the one automatically appearing on the checkout page never changes and remains the old one.

    Is there any way to change/update the customer's email address on the checkout page?

    Thank you in advance for your help.
  • Huw Roberts
    sáb, 25 nov 2023, 4:14 AM
    Hi we are getting messages from Stripe about a failing webhook using plugin 1.2.4 and Moodle 4.1+ (Build: 20230105):
    The URL of the failing webhook endpoint is: https://elearntralee.com/payment/gateway/stripe/webhook.php HTTP ERROR 400 what is the issue please?
  • Alex Morris
    lun, 27 nov 2023, 5:39 AM
    Hi @Huw Roberts the stripe webhook logs should contain more details, can you look there and either create an issue on the github page or email on alex@navra.nz ?
  • DonnaJobs Ltd
    vie, 1 mar 2024, 10:02 PM
    Hi,
    I have the same needs of Alex Samaras, it is possible?
    Thanks
  • Muhammad Arham Ali
    sáb, 2 mar 2024, 7:22 PM
    Hi Alex,

    I hope you're doing well. I have a question regarding the Moodle Stripe payment gateway settings. I've enabled promotion codes in the settings, expecting the option to add a promotion code to appear on the checkout page. However, it seems that the box for adding the promotion code is not displaying on the checkout page. Could you please guide me on how to enable the promotion code box to appear on the checkout page?

    Thank you for your assistance.

    Best regards,
    Arham Ali
  • Manusha Amal
    sáb, 13 abr 2024, 1:51 AM
    Hi,
    im getting 403 after stripe payment is there anything to config?
1 2 3 4 5
Please login to post comments