Integrate Axis LMS with your Shopping Cart

For payment gateways not built into Axis LMS, using the Integration Builder provides an easy-to-implement way to use your external cart.

 

Axis LMS Integration Builder

System > Integrations > Applications > Integration Builder

After opening the Integration Builder, a list of all your existing integrations will be listed. If you have no integrations yet, click the Create Zap button to create your first. 

Every integration has minimally two components: a Trigger and an Action. The Trigger is where your Integration begins; the Action is one of, or the entirety of, the conclusion of events. 

* If this is your first experience in the Integration Builder on this device, you will instead be prompted to Sign In or Sign Up for the integration service: Zapier. 

 

E-Commerce Trigger

With most e-commerce services, your platform will typically be used as the Trigger; while each service will have slight variations, you're usually looking for some variety of "a new sale". 

Begin by clicking on the Trigger tile, then search for your payment gateway - for this example we will be using Square.

Now select the Event: New Order; and click Continue. You will now be prompted to sign into your Square Account. After successfully connecting to the shopping cart, you will be prompted to run a test to confirm the account can be successfully reached. The events available will vary depending on the payment gateway selected. After connecting to a service, you will not need to provide credentials in the future.

 

LMS Action

Continuing the Updating User Scenario, the next step is to select the Action Tile, then search for Axis LMS. 

Now select the LMS Event: Enroll/Disenroll User From a Course; and click Continue. You'll be prompted to connect your Axis LMS account - the required information is available on the left side of the Integration Builder. Once more, you'll be prompted to run a test to confirm the connection was successful. 

After a successful test, you'll have the opportunity to refine the Action. For this Action, select the username, the associated course, and then Enroll. The username and Course Name can be fetched (or inferred) by referencing the New Order in Square Trigger from earlier.

In fact, any fields collected from the Trigger event can be referenced in the LMS Event; so you can quickly populate any of the LMS User Fields with data collected from the Triggering Events. 

After filling out the necessary fields, click Continue. 

 

Publishing the Integration

After setting up both the Trigger and the Action, the Integration can be saved by using the Publish button in the top right of the page. Before publishing, considering renaming your integration so you can easily identify the intention of the integration, without having to open the editor and analyze each step. 

You can continue to expand on the Integration, and perform additional Events by clicking the addition symbol after your most recent Event, if desired; but publishing here will create a successful integration with your E-Commerce Payment Gateway.