Stripe Payment with SCA and Coupon

Enrolment ::: enrol_stripepayment
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.
Latest release:
1337 sites
526 downloads
73 fans
Current versions available: 4

Brief Introuction

Elevate your e-learning payment experience with the Stripe Payment Plugin. Seamlessly integrate Stripe, a leading payment gateway, and empower your learners with effortless payment management. 

Rest easy with robust security features, including fraud prevention and data encryption, safeguarding your business and users from online threats. Unlock the power of coupon support for accessible course offerings. 

Benefit from Stripe's speedy and reliable payment processing, and tailor your enroll button's design to seamlessly fit your site. Maximize your e-learning payment system's efficiency by installing and configuring this exceptionally effective plugin today.

What Stripe Payments Offers!

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.

Our Features:
Easy to use

Stripe has a simple and intuitive user interface that makes it easy for learners to manage their payment processing

Flexible payment options

With a wide range of payment methods, including credit and debit cards, Apple Pay, Google Pay, and Alipay transactions become easy.

High level of security

Stripe is known for its robust security features, including built-in fraud prevention tools, data encryption, and 2-factor authentication. This helps to protect businesses and their customers from online fraud and hacking.

Coupon Support

You also get the option to offer special discounts to learners using stripe coupons.

Fast and reliable payment processing

Stripe processes payments quickly and reliably making it easy for learners to get started. This document will help you to configure the plugin further https://dualcube.com/docs/stripe-payment-with-sca-and-coupon/

Enroll Button Color

This unique feature will help you select the color of the enrolment button as per your choice.

stripe color

S Stripe Pro Version!

Stripe Pro is an advanced payment gateway that allows you to offer subscription payments to students. You can also access premium features such as free trial, sign-up fee, and so on with this solution. Go To Stripe Pro site

😊By investing in Stripe Pro, you become an essential partner in shaping the future of these projects. Keep the open-source spirit alive!

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6

Contributors

DualCube Team (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • DualCube Team
    Tue, 25 Jan 2022, 2:36 AM
    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.
  • DualCube Team
    Tue, 25 Jan 2022, 2:36 AM
    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
  • 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.
  • Fiusi SP
    Fri, 11 Feb 2022, 2:33 AM
    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
  • Sélim MEZITI
    Mon, 28 Feb 2022, 1:13 AM
    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.
  • DualCube Team
    Wed, 2 Mar 2022, 11:13 PM
    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?
  • Robert Felix
    Thu, 3 Mar 2022, 6:48 AM
    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
  • Jim Crammond
    Thu, 3 Mar 2022, 6:58 AM
    This has been discussed before (in the previous version of this plugin). I assume nothing has changed in this area. If you go to your stripe account and look at the log messages that will give you an idea if it is the same problem. Once this plugin does a transaction with a test key, it saves the generated customer key into the moodle database. Once you switch to production keys, if you try a transaction with the same user it will fail because it says the customer id is associated with the test keys. You either have to try it with a user that you havent used with test keys or you have to manually delete the entries in the enrol_stripepayment for the problem user(s).
  • Karl O'Keeffe
    Wed, 23 Mar 2022, 2:01 AM
    Hi DualCube Team,
    Thanks for making this plugin, it's perfect for our needs. I have it installed and the test payment worked as expected. I can't seem to get the Coupon working. It seems to be set up correctly in Stripe but when I enter the code when enrolling, the Apply Code button does nothing. Moodle 3.9.13 (Build: 20220314)
    Any ideas?
    Thanks,
    Karl

  • Karl O'Keeffe
    Wed, 23 Mar 2022, 5:37 PM
    just to update the above comment. I'm getting the following error:

    /enrol/stripepayment/validate-coupon.php:1
    Failed to load resource: the server responded with a status of 404 (Not Found)
  • Jim Crammond
    Thu, 24 Mar 2022, 2:11 AM
    Karl, if you go to your stripe account and look at the log messages that will tell you why it failed. Not sure which version of this stripe plugin you are using. The previous version was not good at catching all the exceptions and would thus just do nothing, for example if the coupon was expired or used up.
  • DualCube Team
    Thu, 24 Mar 2022, 3:56 PM
    Hi Karl, we checked this on our end. As you can see it is working fine https://watch.screencastify.com/v/3HgMi09iIGYAm4S3F7MQ

    Can you please check the coupon configuration from your stripe account.
  • Karl O'Keeffe
    Fri, 25 Mar 2022, 1:44 AM
    Thanks Jim. From what I can see it's not getting as far as stripe. Seems to be failing in the Moodle side somewhere.
    Thanks for the screen recording DualCube Team. It's good to know how it should work. I raised a ticket with our Moodle host. Apparently there's a new version of your Plugin available. They are going to update to it and I'll test again. As it is at the moment there is no response from the button. The page doesn't refresh and the amount stays the same.
    Thanks for the help
  • Alethea Inns
    Mon, 28 Mar 2022, 5:15 AM
    Hello - also having the same issue as @Karl O'Keeffe above. Uploaded the latest version of the plugin today (3/27/2022) and you can enter the coupon code, but the "Enrol" button won't work for a 100% discount. Page refresh also does nothing. Any ETA on a fix?
  • Karl O'Keeffe
    Tue, 29 Mar 2022, 12:00 AM
    Got the updated plugin installed today. Although the coupon still isn't working I can see it going through to stripe, the plugin is also accepting it and telling me Invalid Coupon Code. I've obviously set it up wrong.
    I've another problem now however. I put a test payment through and was brought to a blank page with the following error:

    {"exception":"moodle_exception","errorcode":"invalidtoken","message":"Invalid token - token not found"}

    The money was taken but the account wasn't enrolled.
Please login to post comments