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.

Sadly it still generates the same error in stripe:
invalid_request_error
You cannot use line_items.amount, line_items.currency, line_items.name, line_items.description, or line_items.images in this API version. Please use line_items.price or line_items.price_data. Please see https://stripe.com/docs/payments/checkout/migrating-prices for more information.
Hi DualCube Team. Thank you for your help in fixing this.
I removed the old plugin and re-installed it with this new version, but I still have the same error after the payment test." Access to lms.deettajones.com was denied You don't have authorization to view this page. HTTP ERROR 403".
What more do I need to do (about cache or something else)?
Thank you in again for your help.
Hi, we have fixed this in our end, I am sharing our git download link : https://github.com/dualcube/moodle-enrol_stripepayment/archive/refs/heads/master.zip
If the issue is fixed, let us know. So we can release an official update.
Hi, we will start working on this by next week. We will keep you posted.
Hello There. I'm having the same problem as Gareth Harris
Fri, Jul 15, 2022, 4:38 PM
When using the plugin to purchase a course, the payment is successfully processed by Stripe, but on redirect, I get an error message:
You don't have authorization to view this page HTTP ERROR 403
The course isn't allocated to the student.
I am using Moodle 4.0.2 using stripe test API Key.
Thank you in advance.
Hello DualCube!
Thanks for this plugin! As of 1. August, Stripe has updated it's API and if used with a new Stripe account, this plugin won't work anymore (Error from stripe: You cannot use line_items.amount, line_items.currency, line_items.name, line_items.description, or line_items.images in this API version. Please use line_items.price or line_items.price_data.)
Is there a way, that I can change what is sent by the plugin? Thanks a lot!
Good Morning,
We have integrated stripe with one of our courses and enable coupon option as well. We also created coupon in our stripe account. When user apply coupon on "buy now" page in moodle the coupon applied here but the issue is this user coupon redemption data is not showing in Active redemptions report of stripe. Can any one help us how we can see who and how many people redeem coupon.
Thanks
Thanks Bruno, our team will check and get back to you.
@gareth, sorry to hear that,. But we haven't faced this issue on our end. It would be really helpful if you can contact us over our site so we can assist you better : https://dualcube.com/contact-us/
Hi, who ever is experiencing the below error
"Thank you for your payment! Unfortunately your payment has not yet been fully processed, and you are not yet registered to enter the course ......"
Please navigate to /blocks/iomad_company_admin/company_course_create_form.php and update a line of code that appears twice..
So you will change this -> if (is_enrolled($context, null, '', true)) to this -> if (is_enrolled($context, $user->id, '', true)).
The is_enrolled function is missing the user id meaning it will always return false. Good luck smile
Hi DualCube Team, when using the plugin to purchase a course the payment is successfully processed by Stripe but on redirect I get an error message:
You don't have authorisation to view this page HTTP ERROR 403
The course isn't allocated to the student.
I am using Moodle 3.10.11
Any idea what's going on?
Hi Andrew, we have fixed the coupon issue. Here is the zip file : https://drive.google.com/file/d/1FPvwWTTh9248rYkcwdv1bOU_Xpn178Eu/view?usp=sharing
Kindly install and check. Keep us posted.
Vineet, if this is working in sandbox mode, then there is no issue.
I am afraid you need to check your stripe live key or communicate with stripe team. Inform them that you are not able to receive payment in live mode.
They might assist us here better with this.
Please do keep us posted.
Hi,
The plugin works great when we try to make a payment using test keys.
However. when we switch to live keys, the payment goes through but the user doesn't get registered to the course.
Please assist
Optimistic Futures i am not able to message you for some reason. Need your email to send the patch. Maybe you can message me.