Stripe Payment with SCA and Coupon icon

Stripe Payment with SCA and Coupon

Maintained by DualCube Team
Add a price to your courses and check out quickly with Stripe Payment. Stripe is a user-friendly payment solution that allows for secure transactions. This plugin includes a number of payment processing services, including the ability to accept credit card payments. You can also offer various discounts to learners looking to purchase your courses.
Price option: Free

Supports Moodle 2.5-5.0 See all versions
Latest release: 11 months ago
Installations: 1387
Downloads (last 90 days): 273

Frankenstyle name: enrol_stripepayment
Enrolment

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

@jim, we will look into this. We have created a git issue for you to track https://github.com/dualcube/moodle-enrol_stripepayment/issues/88
Shane, login to your stripe account and click on the "developer" tab. You will see under "API requests" the number of failed requests. If you click on that you can see the actual requests and the errors they generated from the stripe side. This will typically give you an idea of why it was rejected.
I'm also getting the "something else happened" error. I'm still getting this error when testing with a new Moodle account and email address. The only common element is the credit card number. Could you please investigate further and advise? Thanks very much. (Really hoping for a timely solve so I don't have to use the PayPal alternative!) smile
Hi Jim, we are testing the plugin with the updated version of Moodle. We will soon release an update.
The "something else happened" error results from requesting a transaction in the production environment with a customer id created in the test environment or vice versa. When the stripe plugin requests a stripe customer id for a new login (email address), it stores it in the enrol_stripepayment database table and uses that id for subsequent transactions.
This means if you switch from stripe production environment to test environment, you either have to use a different login or you have to manually delete the database table row for that user (email address).
hi DualCube Team, currently, I already set up this plugin correctly. But I encountered very annoying bugs.
- Firstly, as soon as I complete the payment, I get redirected back to my site. However, it displays a message showing that "Thank you for enrolling in the course, unfortunately, the payment wasn't successful." But as soon as I click the Continue button. I get redirected to the course with the "successful enrolment" status. I don't know why this happens.
- Secondly, as I wanted to double-check the error in Test Environment, I set up my test key provided by Stripe. Anyhow, as soon as I completed my purchase, it shows that
Something else happened, completely unrelated to Stripe "debuginfo": "Only arrays\/objects accepted. The bad value is:''"
Therefore, it's impossible for me to debug.
- Moodle Version: 3.11 (latest)
- enrol_stripepayment: 3.3.0
Hi Conrad, please do follow our updated documentation https://dualcube.com/docs/stripe-payment-with-sca-and-coupon/
Here you can see a new section on how to create the token. Make sure you have configured each step as per our documentation. Let us know if this fixed the issue.
When processing a Stripe payment on a 3.10 site I get this message after the payment processes successfully, but does not add the student to the course.
{"exception":"moodle_exception","errorcode":"invalidtoken","message":"Invalid token - token not found"}
Aziz, please make sure you have configured the token. This document will guide you with this https://dualcube.com/docs/stripe-payment-with-sca-and-coupon/#3-toc-title
Hi Shane, sorry for the delay.
here is our updated documentation https://dualcube.com/docs/stripe-payment-with-sca-and-coupon/
Thanks @DualCube Team
You mentioned: "Also, we will soon add a detailed documentation in our site, to help you set the up the plugin."
Has there been new features regarding setting course-specific coupons? The version history mentions something about coupons, but doesn't really say what's been changed or added. Thanks.
Hi .We need urgent help with the plugin. We are having an error after the payment level. It's charging but not enrolling the student and returns a token error. {"exception":"moodle_exception","errorcode":"invalidtoken","message":"Invalid token - token not found"}
It's happening after the last update. There is a field for user token and it's "text" as default. Please help.
Hi all, thank you for your co-operation.
We are glad to inform you that we have released our update i.e. version 3.11
In this update, we have fixed the errors.
Also, we will soon add a detailed documentation in our site, to help you set the up the plugin.
How is this superior to https://moodle.org/plugins/paygw_stripe ?
Hi all, we are currently working on our next update of Stripe. In this update, we will fix the issues, along with adding support of the latest version of moodle too.