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.

Hello, I'm running into the same issue that others are reporting. Everything works fine with test keys, but after switching to live keys, although the credit card charge goes through, customers get the jason parse syntax error instead of getting enrolled in the course. Would love to get this working. Using Moodle 3.11.4.
– Robert
Hi, can you please double-check the secret key and client key? Also please do check whether the live checkbox is enabled. If still facing the error then can you share exact what error are you facing? Please share some video of that error?
Hi there,
I tested an enrollment with key secret test and it's working.
But, when I use the live key, I've this error :
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Something else happened, completely unrelated to Stripe{"exception":"invalid_response_exception","errorcode":"invalidresponse","message":"Valeur retourn\u00e9e incorrecte d\u00e9tect\u00e9e"}
I tested with Moodle 3.11.5+, PHP 7.3
Moodle platform in arabic langage.
I'm principal admin and I cheched token, I see that user authorization is disabled in webservice and I don't enable it.
How can I fix it ?
Thanks for your help.
Course student enrollment is not working.
It redirects to a blank page and the registration is not carried out
I have tested it with Moodle 3.11 and 3.11.5
Good afternoon, I am using the stripe plugin so that people can pay for a course and enroll in the course and making the payment correctly, the student does not appear enrolled in the course.
Hi Arkin, The 403 Forbidden Error happens when the web page (or another resource) that you’re trying to open in your web browser is a resource that you’re not allowed to access.
Please follow this document to fix this : https://www.hostinger.in/tutorials/what-is-403-forbidden-error-and-how-to-fix-it
Hi Jason, 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.
My strip accept payment but stiudents can not get access to course. Following error appears:-
Access to demo.arkin.in was deniedYou don't have authorization to view this page.
HTTP ERROR 403
@dualcude
I'm having the same problem that others are having. I recently installed the plugin and it worked fine in test mode but when switching to live mode it generates an error. I've deleted the test customers but still receiving an error. Here is the process. BTW, I tried posting screen shots, but Moodle.org flagged me as spam, so I'm unsure how to provide you additional information.
1. I initiate a buy now from my Moodle instance
2. It successfully pulls up a stripe payment page
3. I enter payment information which succeeds on Stripe's side
4. Stripe redirects back to Moodle at the following at my site
/rest/server.php?wstoken=935db9132f989b5608d6310e29cf9c14&wsfunction=moodle_stripepayment_success_stripe_url&moodlewsrestformat=json&session_id=cs_live_a1ovBV0SACkf8pU17NF3qxMAHMcz0aNg7gh3pnD2S5RAt5yyzoBWZ8t5zN&courseid=7&couponid=0&user_id=259&instance_id=247
Which provides the following response
"Something else happened, completely unrelated to Stripe{"exception":"invalid_response_exception","errorcode":"invalidresponse","message":"Invalid response value detected"}"
5. I can't post the response code from Stripe because of the number of URLs. I'll try posting in a different message with the url suppressed.
Hi Alexis, sorry to hear that.
Can you please share a video of the whole payment flow on your end, so we can help you out.
Hi @Mohed, can you please explain the query a bit more i.e. what are you referring to as renaming this plugin?
Hello, I hope you guys are doing fine. I want to know that if there is certain way of renaming this plugin. I want to rename it for my Moodle site. I tried already but it gave some kind of xml errors. I guess you guys can help. Thank you.
Hello Dualcube. We are very happy with the plugin... however lately we have an issue with Stripe payment showing as incomplete? Stripe suggested it was an issue between Moodle Plugin and Stripe integration. Your help would be very appreciated. Just started two days ago. Here is the message from Stripe
PaymentIntent status:
requires_payment_method
Hi Dualcube.
As I described before in emails we have a significant issue with Stripe payments after updating the plugin to the latest version, 3.3.0.
Since then,
1) Users are charged multiple times for the same product;
(Course payments are stuck and/or multiplied in Stripe, it’s not clear have they gone through since Stripe claims our platform is hanging in the JotForm webhook and not providing/completing information (apologies if this is not 100% correct summary). Users just see multiple charges to their credit card for one course and obviously are dissatisfied.)
2) Product name disappeared in Stripe transaction details (there is ID shown instead);
3) (FIXED) we have lost a field where users could enter their coupon code.
Have you had a chance to look into the problem? I've submitted admin account credentials In my email to admin@dualcube.com as you asked. Could you please advise what we can do to solve this soonest?
Thanks @DualCube Team. Thanks @Jim Crammond. I've identified the problem customer ID and deleted the 2 x rows pertaining to that customer from the mdl_enrol_stripepayment table... I hope that was correct. I'll let you know once the user has retested.