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.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Almost all the users pay the exactly amount ($50) and that amount is saved in the field tax of the table mdl_enrol_stripepayment, but there are a few users that pay succesfully with a value different from the cost setted in the enrolment method, that value always is lower than the cost. Those users didn't used a discount coupon.
Is possible that can be a bug undetected in the plugin?
, thanks for your answer, Any news about the next release?
Could you advice how to solve the issue? We have the stripe plugin on the Moodle Workplace (Synergy Learning hosted). But the payment form doesn't work. It is possible to fill in with card details (number, valid date, CVC), but nothing happens on the Submit button click.
At the same time, Stripe support reported they don't receive any transactions.
Moodle Workplace 3.9.1+ (Build: 20200727)
Stripe Payment plugin 3.0 (Build: 2020013100) 2020072200
Fatal error: Can't use function return value in write context in /.../enrol/stripepayment/charge.php on line 47
Please advise?
Moodle 2.7
There is an issue with coupons that can lead to users getting enrolled into courses for free. The issue is with coupons that become invalid, e.g. due to reaching max number of redemptions. In the case where a coupon exists but is not valid, the code in validate-coupon.php returns nothing, which is then treated as zero cost in enrol.php. You then get the button to Enrol straight into the course.
I have a fix for this if interested
I added code to this plugin taken from enrol_self that allows for a custom Welcome email to be sent to the user. If you are interested in the set of changes let me know.
Thank you for your valuable input. Yes, this feature is already in our planning list for the Pro version.
Regards,
Did you created the coupon already via Stripe?
We already updated your ticket. you can check it from GIthub.
Thanks for getting in touch with us, I am afraid, we don't have Alipay support currently.