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.

You can try stripe subscription plugin by Digital Tricksters. Thank you.
Melvyn, could these lower than $50 transactions have involved foreign currency conversions or international credit cards?
In my work, we discovered a strange behavior in the plugin. For example, if we set the stripe payment method in a course with the cost of $50, the settings of the method are saved in the table mdl_enrol with the right value of $50.
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?
Nik, if you go into Stripe and into the Developer->Logs section you should see if any attempt at applying the code was made. Failing that you could check the enrol/stripepayment directory to see if there is an error_log file that might give you a clue
Hello. I am using the latest Moodle install (3.10.2) and I can get the transaction through Stripe without problem, but I cannot add a coupon (already created on Stripe), as clicking the APPLY CODE button does nothing. It does not tell me when the coupon is correct, and if I use a random one, it does not give me an error message either. Any ideas ?
Hello, Dual cube
, thanks for your answer, Any news about the next release?
Hello @DualCube Team,
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
Hi everytime i try to pay via Stripe i get the following error:
Fatal error: Can't use function return value in write context in /.../enrol/stripepayment/charge.php on line 47
Please advise?
Moodle 2.7
@DualCube Team,
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
Regarding making coupons specific to courses. One way to do this could be to add the coursename or courseid as metadata to the coupon in Stripe and then have the plugin match that to the coursename /id when it is checking to see it is valid in validate-coupon.php
@DualCube Team
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.
Hi @Shane Leonard,
Thank you for your valuable input. Yes, this feature is already in our planning list for the Pro version.
Regards,
Hello Carlos MP,
Did you created the coupon already via Stripe?
Hello Motif Class,
We already updated your ticket. you can check it from GIthub.
Hello IRVIN BAHAN,
Thanks for getting in touch with us, I am afraid, we don't have Alipay support currently.