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.
113 sites
63 downloads
23 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 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?
  • Picture of DualCube Team
    Thu, 8 Mar 2018, 9:55 PM
    Hi! Willy,
    Thanks for reaching out to us. Please download the latest version of the plugin from moodle.org I think that it will fix the issue. Thanks.
  • Picture of Franklin Velasquez
    Sat, 24 Mar 2018, 8:46 AM
    I am in Central America. Can I receive payments to here?
  • Picture of DualCube Team
    Mon, 26 Mar 2018, 8:22 PM
    Hi! Franklin,
    Authorize.Net is available to merchants in the United States, Canada, United Kingdom, Europe, and Australia. So your customers can be from anywhere but your business should be from these aforementioned countries to receive payments.
    Thank you.
  • Picture of Zhivko Z
    Fri, 30 Mar 2018, 1:02 AM
    Hello,
    I’ve been having some issues with the Authorize.net plugin recently:
    1. Some people pay but don’t get enrolled
    2. Some people pay twice (they shouldn’t be able to enroll/pay twice for the same class)
    3. I get some error emails saying: “Your script timed out while we were trying to post transaction results to it. Transaction Result: This transaction has been approved.”

    Would you please advise?
    I upgraded the hosting plan/the same host moved the site to another server a week ago. Do you thinks that could cause the problem?

    I’m using Version 2.5 on Moodle 3.1.2

    Thanks
  • Picture of DualCube Team
    Fri, 30 Mar 2018, 6:25 PM
    Hi!! Zhivko,

    Thanks for reaching out to us. We tested the plugin but it worked fine. Please replace it with plugin version: 2.5 (Build: 20150610)
    Release date: Thursday, March 8, 2018, 7:03 PM, and clear the cache.
    If the problem still persists, please let me know.

    Thank you.
  • Picture of Scott Martin
    Fri, 12 Oct 2018, 5:27 AM
    Hi,

    I am trying to configure the Authorize.net enrollment plug-in on our Moodle site for On Demand course. I have the plug-in installed and configured per the directions here on this page. When testing the plugin with a test student I am able to get to the payment screen, complete the form and submit it. But immediately after submitting the form I am getting an error that says: "Coding error detected, it must be fixed by a programmer: Invalid property courseid specified".

    Despite this error the payment seems to go through and appears in our Authorize.net account, but the student is never enrolled in the course.

    Upon reviewing the installation instructions here on this page again I found that the only thing I hadn't done is to configure the Default Relay Response URL in our Authorized.net account. So I tried that and it totally broke the plug-in. After adding that URL all I got when I clicked the Pay Now button was an error saying the Default Relay Response URL was invalid.

    Any ideas what I'm doing wrong here?

    Thanks!
  • Picture of DualCube Team
    Mon, 22 Oct 2018, 5:55 PM
    Hi! Scott,
    Can you please let me know which version of the plugin and the Moodle are you using so that we can test it?

    Thank you.
  • Picture of Scott Martin
    Thu, 25 Oct 2018, 10:34 AM
    Sure thing... I'm using:

    Moodle version 3.1.5

    Authorize .net Plug-In version 2015061503
  • Picture of DualCube Team
    Thu, 25 Oct 2018, 7:58 PM
    Please uninstall the previous version. Install this version: https://moodle.org/plugins/download.php/16231/enrol_authorizedotnet_moodle34_2015061503.zip
    And purge your cache. Please let us know if it solves the problem.

    Thank you.
  • Picture of Jesse Stilwell
    Tue, 30 Oct 2018, 8:32 PM
    Hello,

    We're testing your plugin currently and while the transaction is successful and the user is enrolled, the enrollment is listed as "not current" even though there's an enrollment duration set to 120 days. Have you seen this happen before and if so, do you know the solution for the problem? Thanks!
  • Picture of SAM Web Studio
    Thu, 1 Nov 2018, 1:18 PM
    It is being a long time that I have found this one also here. This plugin helps for the admins and webmasters, but I am getting an error while installing a plugin to my site: https://www.samwebstudio.com
    Can you suggest me how I can resolve this error? I am waiting for your response.
    thanks for sharing this lovely one also.
  • Picture of DualCube Team
    Thu, 1 Nov 2018, 8:19 PM
    Hello Jesse,
    Q. We're testing your plugin currently and while the transaction is successful and the user is enrolled, the enrollment is listed as "not current" even though there's an enrollment duration set to 120 days. Have you seen this happen before and if so, do you know the solution for the problem? Thanks!

    Ans. To view the enrolment duration you have to add some settings in authorize.net plugin,
    Go to course administration (in which the authorize.net is enabled)-> users-> Enrolment Methods->Authorize.net-> give the custom name,allow enrolments, give enrolment cost, -> Enable the enrolment duration(put the no. of days/month/year) ->Enable start date->Enable end date ( put the end date which is greater than start date).->click save changes.

    After enrolments, an admin can view the enrolment duration by following steps.

    Go to course administration (in which the authorize.net is enabled)-> users->enrolled user(here you can see the enrolment duration of the currently enrolled user)
    Thank you

  • Picture of DualCube Team
    Thu, 1 Nov 2018, 8:21 PM
    Dear Sam,

    Can you email your admin and FTP credentials to our admin email ID, so that we can check the issue?

    Our Admin email ID: admin@dualcube.com

    Thank you.
1 2 3 4 5 6

Commenting temporarily disabled