Connect your eCommerce store to Shopify
Once connected, LearnUpon redirects your customers to your Shopify storefront to buy courses.
Availability: all customers
Contact the support team and ask them to turn on your portal's Shopify option.
Shopify integration: overview
This article explains the steps required to create a custom Shopify app with a single-merchant install link, and connect it to your LearnUpon portal.
Always refer to the Shopify Help Center for full Shopify documentation.
LearnUpon is not responsible for content outside this website.
Note: From December 2024, Shopify has disabled additional scripts in custom apps, like the script LearnUpon used to link portals to Shopify. LearnUpon has updated its integration to accommodate this change.
LearnUpon’s revised workflow uses Shopify’s webhooks, to identify when someone buys a course through a customer’s Shopify storefront. After purchase, LearnUpon uses the webhook details to send a confirmation email to the buyer with info about accessing the enrollment(s).
Buyers are not redirected to the portal automatically from the Shopify transaction. They can close the Shopify window and navigate to the portal manually, or use the link in the confirmation email.
In case of enrollment errors, LearnUpon sends an automated notification to admins and the Shopify merchant’s contact email.
Current Shopify users: update your integration
Admins need to disconnect and re-connect the portal to Shopify, following the instructions in this article.
When you reconnect you’ll access the revised integration that uses webhooks. You do not need to create a new custom app.
Contact your Customer Success Manager for additional support as required.
Prerequisites
In LearnUpon
To access payment gateway setup, you need to turn on eCommerce features on your portal.
See Collection: eCommerce to get started.
In Shopify
To connect Shopify to LearnUpon, you need to:
- set up a store account in Shopify for your organization
- set up a Shopify Partners account for your organization, with the same email contact as for your store
- disconnect any other payment gateways linked to your LearnUpon portal
See:
- Shopify's Partner Support help site
- Shopify API versioning for advice about Shopify's API update cycle
Note: Shopify does not allow bulk purchases.
Access permissions
- Admins with full portal permissions: can set up the eCommerce features
See Portal setup: create admin accounts.
Tasks in Shopify
For the steps in Shopify you must log in to the Shopify Partner site to access your Shopify store.
Note: Shopify’s Event version is equivalent to LearnUpon’s API version.
LearnUpon currently supports Shopify's 2025-01 Event version.
Step 1 Create app
- From the Shopify Partner page select Apps > Create app.
- From Create a new app, select Create app manually.
- Enter an App name and select Create. Shopify sets up the initial app parameters, and opens the new app’s settings.
- From Client credentials copy the following codes to a safe place to use later:
- Client ID
- Client secret
- From App setup go to Event subscriptions.
- From Event version select 2025-01.
- Save to finish if required.
Step 2 Register the new app to use in your LU customer portal
- From App setup go to URLs.
- For App URL enter your LearnUpon portal’s URL. Shopify uses this URL to verify the new app.
- For Allowed redirection URL(s), enter the following URL:
https://app.learnupon.com/shopify/auth - Save to finish this step.
Step 3 Set up custom distribution link and verify in your browser
This one-time step confirms that the new Shopify app exists and is active. After confirming, you enter the app details in your portal.
- From Overview select Distribution.
- From Distribution, select Custom distribution > Select.
- From Distribution, for Merchant’s myshopify.com domain, enter the myshopify domain you will use with your LearnUpon portal: for example,
myportalname.myshopify.com.
Warning: Enter the URL carefully. You can’t change the store URL later.
- Deselect the Allow multi-store install for one Plus organization option.
The following screenshot shows Custom distribution, with Allow multi-store install for one Plus organization deselected.
- Select Generate link.
- In the confirmation dialog that opens select Generate link.
Shopify generates a Merchant install link. You use this link to connect your Shopify store to LearnUpon. - Select Copy to add the URL to your clipboard.
- Open a browser, paste the link as destination and select Enter.
Visiting the URL verifies that the app is active.
Shopify redirects you to your own LearnUpon portal.
Tasks in LearnUpon
Step 4 Set up Shopify as the payment gateway in your portal
The credentials required for this step come from Shopify, that you saved in a safe place in step 1.
The following screenshot shows Shopify settings for this step.
- From main navigation go to Settings > eCommerce Settings > Payment Gateways.
- From Shopify Settings, complete these fields from the credentials you saved earlier:
- Client ID
- Client secret
- API (event) version
- Your shop name
- Select Connect with Shopify. LearnUpon redirects you to Shopify Install page, with a statement confirming what data the store app accesses.
- Select Install app.
Shopify returns you to your portal at Settings > Payment Gateway.
Changes to eCommerce settings
LearnUpon removes the following eCommerce settings in your portal, because Shopify provides the functionality instead:
- Add Logo, Description/Terms & Conditions to your store
- SEO & Google Analytics
- Add Facebook & LinkedIn
- Portal Coupons
- General settings > Hide course release dates on your store
- General settings > Disable sign-up confirmation requirement prior to purchase
Connect LearnUpon courses with Shopify store items
You need to set up the products in your Shopify store, before linking courses and learning paths to your LearnUpon portal.
- In your portal: from primary navigation go to Courses > course name.
- Select Sales to view a list of the products you have available in Shopify.
- In Shopify: select the matching product on Shopify, to link it to your current course.
Select x Remove to change the product on Shopify.
Buying courses: workflow
After a learner buys learning content in Shopify, they receive an email with confirmation of their purchase, and directions to log in.
They are not automatically redirected to the portal. They need to close the Shopify tab and navigate to the portal manually, or use the link in the confirmation email.
See: