Enrolment: Stripe Payment

enrol_stripepayment
Maintained by Picture of DualCube TeamDualCube Team
Enrolment in Moodle using Stripe payment gateway for paid courses This plugin helps admins and webmasters use Stripe as the payment gateway. Stripe is one of the populer payment gateways.
305 sites
294 downloads
30 fans
Current versions available: 2

Enrolment in Moodle using Stripe payment gateway for paid courses

This plugin helps admins and webmasters use Stripe as the payment gateway. Stripe is one of the populer payment gateways. This plugin has all the settings for development as well as for production usage. Its easy to install, set up and effective.

Creating Merchant Account :

1) Create account at https://stripe.com.

2) Complete your merchant profile details from https://dashboard.stripe.com/account.

3) Now set up secret key and publishers key at https://dashboard.stripe.com/account/apikeys.

4) For test mode use test api keys and for live mode use live api keys.

Now you are done with merchant account set up.

Installation Guidence : 

Login to your moodle site as an “admin user” and follow the steps.

1) Upload the zip package from Site administration > Plugins > Install plugins. Choose Plugin type 'Enrolment method (enrol)'. Upload the ZIP package, check the acknowledgement and install.

2) Go to Enrolments > Manage enrol plugins > Enable 'Stripe' from list

3) Click 'Settings' which will lead to the settings page of the plugin

4) Provide merchant credentials for Stripe. Note that, you will get all the details from your merchant account. Now select the checkbox as per requirement. Save the settings.

5) Select any course from course listing page.

6) Go to Course administration > Users > Enrolment methods > Add method 'Stripe' from the dropdown. Set 'Custom instance name', 'Enrol cost' etc and add the method.

This completes all the steps from the administrator end. Now registered users can login to the Moodle site and view the course after a successful payment.
FAQ. How to change the button text "Pay with Card"?
Ans. Please go to "Your moodle directory"/enrol/stripepayment/enrol.html file from backend, then add the (data-label="your text") into <script> tag.


Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4

Contributors

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

Comments RSS

Show comments
  • Picture of DualCube Team
    Tue, Jan 8, 2019, 5:31 PM
    Thanks. We uploaded a new version again. Please download and use that.

    Thank you.
  • Picture of Tommy Pazhoum
    Wed, Jan 9, 2019, 1:03 PM
    Dear Team,
    Thank you for such a great work. I'd like to know how I can add the course name in the receipt sent to student's email.
    I look forward to receiving your comment.
    Thank you
  • Picture of DualCube Team
    Fri, Jan 11, 2019, 6:43 PM
    Dear Tommy,
    Stripe API does not provide such option to pass the course name. So this is not possible.
    Thank you.
  • Picture of seaghan moriarty
    Thu, Jan 31, 2019, 10:18 PM
    Hi Guys,
    I'm trying to add an option of a discount voucher or a % discount to different courses, is this now possible?
  • Picture of Stan Shap
    Mon, Feb 4, 2019, 11:07 PM
    Hello Team,
    I am using Moodle 3.6.2+ and am having the same problem as Robert was having -

    Robert:
    I am using Moodle 3.6 and get an http 500 error POST /enrol/stripepayment/charge.php HTTP/1.0
    Permissive is set to 755 for the directory and 644 for the files.
    Form to enter the credit card credentials came up, I got a green mark and the the error.
    User is not enrolled, transaction is not performed.

    Thanks,
    Stan
  • Picture of DualCube Team
    Wed, Feb 6, 2019, 2:02 PM
    We have checked our plugin at moodle 3.6 and it works fine. Please download the latest version of this plugin from https://moodle.org/plugins/enrol_stripepayment. If you are still facing the problem, then kindly do share your FTP details and site URL with us, so that we can look into it.
    Our email ID is admin@dualcube.com

    Thank you.
  • Picture of Diane Villemure
    Fri, Feb 8, 2019, 12:52 PM
    I just noticed that shipping fields inthe checkout form do not include "state" (as in shipping[address][state]) ... only address, city, postal code and country. Is this an oversight?
  • Picture of DualCube Team
    Fri, Feb 8, 2019, 7:27 PM
    Dear Diane,
    Can you please share the screenshot with us? We would like to know where this is happening.
    Our email ID is : admin@dualcube.com

    Thank you.

  • Picture of Javier Tejera
    Sun, Mar 10, 2019, 12:37 AM
    Hello there, is there any way to include the price of the course next to the Stripe logo? See here what I mean: https://prnt.sc/mvje8g
  • Picture of OI Net
    Tue, Mar 12, 2019, 11:17 PM
    Hello, I have a similar problem as Robert.

    I installed the last version of Stripe payment for Moodle and it is not working . My moodle version is 3.6.2.

    I can write the credit card number, a green OK mark shows up when I confirm the payment and then I get a HTTP 500 error on page .../charge.php

    Can you help me?

    Thank you very much in advance.
  • Picture of Finn Majlergaard
    Wed, Mar 13, 2019, 6:27 AM
    He there.

    I have a similar problem.

    I am using the latest version of the api (Release 1.0 (Build: 2015112818)) and Moodle 3.6.3 (Build: 20190311)

    After having made a payment (test mode) it just hangs at this page:
    https://online.gugin.com/enrol/stripepayment/charge.php

    No error messages.
    All the beat
    Finn
  • Picture of iwa moodle
    Fri, Apr 12, 2019, 1:11 AM
    somebody knows if this plugin works in mexico? thanks
  • Picture of AC Cheng
    Wed, Apr 17, 2019, 10:33 AM
    I just want to mention the 500 Error issue can be resolved by downloading the plugin at their github page:
    https://github.com/dualcube/moodle-enrol_stripepayment
    I'm also using Moodle 3.6
  • Picture of Formation ornitho Natagora
    Tue, Apr 23, 2019, 10:50 PM
    Hello,
    Have you read about "PSD2: Strong Customer Authentication - Stripe" (check on Stripe website)? Some changes are due before September 2019...
    Are they planed (or already done) in this plugin?
    Thank you!
  • Picture of Syafiqah Salleh
    Tue, May 7, 2019, 11:56 AM
    is the plugin can be use in Malaysia?
1 2 3 4 5 6 7 8 9 10
Please login to post comments