Enrolment: Authorize.net

enrol_authorizedotnet
Maintained by Picture of DualCube TeamDualCube 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.
122 sites
194 downloads
26 fans
Current versions available: 2

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

Comments

  • Picture of DualCube Team
    Mon, Oct 22, 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, Oct 25, 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, Oct 25, 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, Oct 30, 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, Nov 1, 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, Nov 1, 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, Nov 1, 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.
  • Picture of Nilesh Pathade
    Mon, Jan 28, 2019, 3:36 PM
    Hi All,

    I am using Authorized.Net plugin. There is a new update from authorized.net payment gateway. There is not support Authorize.net merchant MD5 hash key. It changes with SHA Key
    https://developer.authorize.net/support/hash_upgrade/
    Can you please help me with new settings and new updates of plugin settings for Moodle.

    Thanks
    Nil
  • Picture of John Anderson
    Mon, Jan 28, 2019, 11:22 PM
    Hi, I am too wondering about support for the change Nilesh Pathade mentions above. Thank you.

    "Authorize.Net is phasing out the MD5 based hash use for transaction response verification in favor of the SHA-512 based hash utilizing a Signature Key. If your existing integrations or clients are using MD5 hash, they will need to move to using the SHA-512 based hash. This applies to all Authorize.Net integration methods including the Authorize.Net API, AIM, SIM/DPM and Relay Response."
  • Picture of Zhivko Z
    Wed, Feb 6, 2019, 8:26 AM
    Hello,
    I just added the Authorize.net plugin on a new website using Moodle 3.1.6 and it doesn't work (Version 2.5).

    The payments go through but there is no enrollment. I have the plugin on other sites and they work fine. The new site has the same configurations as the old sites, Response Relay is added correctly, I called Authorize.net and they confirmed that the code gets sent back to my site immediately. But the site doesn't read it. Student sees a message "The reporting of this transaction to the Merchant has timed out..." and I receive an email "Your script timed out while we were trying to post transaction results to it."

    Can you please help??
  • Picture of Sam McCullough
    Sun, Feb 17, 2019, 1:47 AM
    Hello,

    Are there plans to migrated away from Authorize.net's SIM API?

    I have been attempting to troubleshoot an Error 99 code, after the SHA-512 plugin update. While reading through some of Authorize.net's documentation, I found that the SIM API has been deprecated: https://developer.authorize.net/api/upgrade_guide/#sim. It is still active for now, but Authorize.net recommends switching to their Accept Hosted API: https://developer.authorize.net/api/reference/features/accept_hosted.html.

    Thank you,
  • Picture of RoboSpecies Staff
    Tue, Feb 19, 2019, 6:55 PM
    I am from India , is it work for my country like payment in Indian Rupees
  • Picture of DualCube Team
    Tue, Feb 19, 2019, 7:18 PM
    Hi RoboSpecies
    "As long as your business is based in the United States, Canada, United Kingdom, Europe or Australia, you can accept international payments from anywhere in the world by using Authorize.net"

    You can use PayPal which is the default payment gateway for Moodle. PayPal now accepts payments in INR. Or you can try using an Indian Payment gateway like RazorPay which will be more beneficial to the Indian Customers.

    Thank you.
  • Picture of Roman Markin
    Sat, Apr 6, 2019, 12:33 AM
    Hi there,

    It seems you have a mistake in file /athorizedotnet/update.php in line 233:

    You should use $plugininstance instead of $plugin_instance
  • Picture of Zhivko Z
    Fri, May 10, 2019, 7:04 AM
    Hello,
    Effective August 1st 2019 - some major Merchant providers (including Wells Fargo and Bank of America) will replace Symantec Digital Certificates with new Root CAs: DigiCert Global Root G2 and DigiCert Global Root CA.

    Authorize,net is already ready for it. However both, the Merchant providers and Authorize.net are advising to also check with the plugin providers if they are ready for this change.

    Do you guys support the new Root CAs: DigiCert Global Root G2 and DigiCert Global Root CA?
    Would a plugin upgrade be needed and when?

    Thanks
Please login to post comments