Enrolment: Authorize.net

enrol_authorizedotnet
Maintained by Picture of DualCube Team DualCube Team
Enrolment in Moodle using Authorize.net payment gateway for paid courses This plugin helps admins and webmasters use Authorize.net as the payment gateway. Authorze.net is one of the most commonly used payment gateways and offers considerable number of features unsupported by other payment gateways like Paypal. This plugin has all the settings for development as well as for production usage. Its easy to install, set up and effective.
128 sites
148 downloads
21 fans

Enrolment in Moodle using Authorize.net payment gateway for paid courses


This plugin helps admins and webmasters use Authorize.net as the payment gateway. PAuthorze.net is one of the most commonly used payment gateways and offers considerable number of features unsupported by other payment gateways like Paypal. This plugin has all the settings for development as well as for production usage. Its easy to install, set up and effective.


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 'Authorize.net' from list


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


4) Provide merchant credentials for Authorize.net, 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 'Authorize.net' 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.



Note: You need to configure the Default Relay Response URL in you authorized.net account. The Relay Response URL will be "http://your_moodle_website/enrol/authorizedotnet/ipn.php"


To add a Default Relay Response URL:


Log into the Merchant Interface at https://account.authorize.net/ or Sandbox Interface https://sandbox.authorize.net/.

Click Account from the main toolbar.

Click Response/Receipt URLs under Transaction Format Settings.

Click Edit next to Default Relay Response URL. The Relay Response page appears.

In the URL text field, enter the URL where the payment gateway should send the transaction response. This URL must start with either "http://" or "https://". Parameterized URLs are not permitted.

Click Submit. A confirmation message indicates that the URL has been added.



To add a URL to the list of authorized Response or Receipt URLs:


Log into the Merchant Interface at https://account.authorize.net/ or Sandbox Interface https://sandbox.authorize.net/.

Click Account from the main toolbar.

Click Response/Receipt URLs under Transaction Format Settings.

Click Add URL.

Enter the new URL. This URL must start with either "http://" or "https://".

Click Submit.

Screenshots

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

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 Anne watson
    Tue, 14 Nov 2017, 1:29 PM
    Very good and unique way to express your idea's https://sites.google.com/site/1webhostingonedollar/
  • Picture of ken collinson
    Wed, 15 Nov 2017, 4:49 AM
    I just want a payment option that will give access to EVERY course on my Moodle site, will this plugin do that?
    ie: The plugin takes payment when the user creates their moodle account and the user then can browse and access
    all courses's without hindrance?
  • Picture of DualCube Team
    Thu, 16 Nov 2017, 8:37 PM
    Hi! Ken,
    Unfortunately, this plugin does not serve this facility. You can set up the price for each of courses in your site by this plugin.
  • Picture of Maxim Megalinskiy
    Mon, 20 Nov 2017, 5:27 PM
    I installed this plugin, but couldn't set it up to properly interact with the Authorize.net sandbox account. Every time I try to enrol on a course using a student account and complete the order, after a short timeout it displays the following message:

    The reporting of this transaction to the Merchant has timed out. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.

    This transaction has been approved.

    It is advisable for you to contact the merchant to verify that you will receive the product or service.

    Though it tells that the email messages were sent, I don't receive them. On top of the payment form there's a message Test Mode Is ON, though the test mode is turned off in the sandbox account settings.

    After manually opening the enrolment page, I see the same enrolment options page with the payment button and the cost of the course.

    Turning on the Check for production mode option results in the following error: (13) The merchant login ID or password is invalid or the account is inactive.

    I tried googling these errors, but couldn't find a way to avoid them.

    Thanks for any help.

    Kind regards,

    Maxim
  • Picture of DualCube Team
    Thu, 23 Nov 2017, 4:05 PM
    Hi! Maxim,
    This is not a plugin issue, this is happening because of Sandbox environment of Authorize.net.
  • Picture of Vijay Bihanni
    Sun, 26 Nov 2017, 3:45 PM
    I recommend to install latest version of this as it will all provide all features to you.
    http://www.jestaplophotography.com/new-born-baby-photography-delhi.html
  • Picture of Zhivko Z
    Sun, 28 Jan 2018, 9:10 AM
    Will the authorize.net plugin work fine after Authorize.net makes the TLS 1.2 changes on February 28th?

    Will I need to update or do any changes? I believe I have the 2.5 version.

    Thanks a lot!
  • Picture of DualCube Team
    Tue, 30 Jan 2018, 3:48 PM
    Hi! Zhivko,

    Thanks for writing to us. We are glad to tell you that it will be working fine even after the update.
    Thank you.
  • Picture of Daoud El Gharib
    Wed, 31 Jan 2018, 2:44 PM
    Hello, I`m new to e-commerce world, but I need to configure my moodle site to accept credit cards in order to sell courses for a time duration. Accordingly, I have a couple of questions:

    1)Is this plugin can support me with this?
    2) How I connect this to the payment gateway of the bank?

    Please advise!
  • Picture of DualCube Team
    Fri, 2 Feb 2018, 7:47 PM
    Hi! Daoud,
    Thanks for reaching out to us.
    Please let us know if this information helps you: User can use Credit/Debit Card and Bank Account to buy a course using Authorize.net plugin.
    Check the links for images of the same:
    1)https://drive.google.com/file/d/0B8nWpX0BDUWobUpMbGlKb2lSYmVFak4tNnJnWC1QMWhVdXVN/view?usp=sharing
    2)https://drive.google.com/file/d/0B8nWpX0BDUWoNWdSR09WYnczeDdVQnc4QkIxYXBNa0ljZVFZ/view?usp=sharing

    Thank you.
  • Picture of Willy Gomez
    Sun, 4 Feb 2018, 6:43 AM
    Hi... I got this error: "error/We can't validate your transaction. Please try again!!", but the transaction in Authorize.net was successful and the user didn't get enrolled.

    I'm wonder if I installed correctly the plugin in moodle....
    Other question is if the RESPONSE/RECEIVE URL is the ipn.php or update.php file inside enrol/authroizenet ???

    The problem (I think) is that ipn.php ($ret1 = $DB->insert_record("enrol_authorizedotnet", $enrolauthorizedotnet, true);) $enrolauthorizedotnet is EMPTY!!!!

    Could you help me???

    Thanks

  • Picture of DualCube Team
    Thu, 8 Feb 2018, 5:30 PM
    Hi! Willy,
    Thanks for reaching out to us. Please do the following:
    Log Into your authorize.net account > ACCOUNT > MD5 Hash > Set your Hash Value.
    Then go to Site administration > Plugins > Enrolments > Authorize.net > Authorize.net merchant MD5 hash key > Add the Hash value then click on the "Save changes" button.
    This should do.
    Thank you.
    Always happy to help!
  • Picture of Willy Gomez
    Mon, 12 Feb 2018, 9:31 AM
    Thanks!!!
    The error didn't disappear.
    The MD5 hash value is the same that MD5 hash key?
    Do I have to set Default Relay Response URL and Response or Receipt URLs??? Both are the same (http://your_moodle_website/enrol/authorizedotnet/ipn.php) ???
    Thanks... I really tried everything!!!
  • Picture of DualCube Team
    Fri, 16 Feb 2018, 2:57 PM
    Thanks, Willy for getting back to us.

    Please try this solution:
    Set the same URL (http://your_moodle_website/enrol/authorizedotnet/ipn.php) for both Default Relay Response URL and Response or Receipt URLs

    If your problem is not solved, please go to Site administration / ► Development / ► Debugging / ► Debug messages choose "DEVELOPER: extra Moodle debug messages for developers" / ►check the "Display debug messages" field then click on the "Save changes" button / ►test it again and provide us a screenshot of the error page.

    We have tested on our server but we did not get any such error!
  • Picture of Willy Gomez
    Thu, 22 Feb 2018, 10:27 PM
    I found the problem... My site is in spanish and when course name has a non english caracter like accent (á), for some reason authorize refuse it. Is it fixable?
1 2 3 4 5
Please login to post comments