Moodle Plugins directory: Stripe | Moodle.org

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:
- Install the plugin
- Enable the Stripe payment gateway
- Create a new payment account
- Configure the payment account against the Stripe gateway using your Stripe API keys
- Enable the 'Enrolment on Payment' enrolment method
- Add the 'Enrolment on Payment' method to your chosen course
- Set the payment account, enrolment fee, and currency
- 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.Useful links
Contributors
Alex Morris (Lead maintainer)
Please login to view contributors details and/or to contact them
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
"...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.
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...
Installing available updates
Downloading paygw_stripe ... OK
Validating paygw_stripe ... Error
[Error] Required Moodle version [2022112809]
Installation aborted due to validation failure
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
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?
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?