Shopify Rockstar Learning Platform Integration
The Shopify integration is used for eCommerce purposes only. If you would like to sell your courses on Shopify and automate the user creation process after purchase, follow the steps outlined below.
When the integration is connected, a purchase in your Shopify store creates the buyer as a user on your Rockstar Learning Platform site and gives them access to the content you have mapped to the product they bought. You do not have to add those users by hand, and you do not have to put a registration link in your Shopify emails.
Before you begin
- You need administrator access to your Rockstar Learning Platform site.
- You need an account on your Shopify store with permission to install apps.
- Decide which Rockstar Learning Platform content each Shopify product should grant. You will map products to content as part of setup, so it helps to have the list ready
Connecting your Shopify store
- Access the admin area on your Rockstar Learning Platform platform.
- Navigate to the Settings tab and then click on the Integrations tab on the left hand side of the page.
- Click the Integrate with Shopify button and enter your Shopify store.
You do not need to trim the value you paste. From release 2.12.1, the platform removes the domain from a pasted value automatically, so pasting a full store address produces the correct value. If you previously had to paste only the store name, you no longer do. - You will be taken to Shopify to install the app. The app is listed as Rockstar Learning Integration. Click the install button and approve the permissions Shopify asks for.
- After the app is installed you are returned to the integration page in your Rockstar Learning Platform site, where you finish setup by mapping your products.
Mapping your Shopify products to content
Setup is not complete until each Shopify product you want to sell is matched to the Rockstar Learning Platform content the buyer should receive. Match your Shopify products to your learner groups in the Rockstar Learning Platform, then use the save button at the bottom of the page to store the mapping.
From release 2.13, you map products to content in the Rockstar Learning Platform's integration settings (Settings > Integrations > Shopify), not in the embedded Shopify app. [PM: confirm the exact page and label where mapping is done, and whether product mappings made in the former embedded Shopify app carry over automatically or must be re-created.] If you mapped products before release 2.13, open the mapping in the integration settings and check that each product is still matched before you rely on it.
A product that is not mapped does not grant anything. If a customer buys a product you have not mapped, they are not given access to content, so check your mapping whenever you add a new product in Shopify.
Opening the app from Shopify
The Rockstar Learning Integration app does not run inside the Shopify Admin. From release 2.12, clicking the app in your Shopify Admin takes you out of the Shopify Admin frame rather than loading the app within it. What you land on depends on whether the store is already integrated:
- If your store is already integrated — your Rockstar Learning Platform site opens in a new browser tab. Your Shopify Admin stays open in the tab you came from.
- If your store is not integrated yet — you are taken to a standalone integration page where you can connect the store.
What happens when a customer buys a course
From release 2.12, fulfillment runs on webhooks from your Shopify store. When an order is placed, Shopify notifies the Rockstar Learning Platform directly, and the platform creates or updates the buyer's account and grants them the content mapped to the products in the order. Nothing has to be clicked in an email for this to happen, and you no longer have to put a registration link in your Shopify order confirmation email.
Troubleshooting
A customer bought a course but has no access
- Check that the product they bought is mapped. An unmapped product grants nothing.
- Check the email address on the Shopify order against the user record on the platform. A buyer who checks out with a different address than the one they already use on your site may end up with a second account. See Editing Users.
- Allow a few minutes and refresh before treating it as a failure.
Clicking the app in Shopify does not stay in the Shopify Admin
That is expected from release 2.12 onward. The app is non-embedded, so it opens outside the Shopify Admin frame — see "Opening the app from Shopify" above.
If a problem persists after these checks, submit a case to Customer Solutions with your store address, the order number, and the buyer's email address.