Stripe is now available as a payment gateway to use with Litmos’ native e-commerce check-out. Stripe helps power millions of businesses in over 100 countries across nearly every industry.
To begin utilizing Stripe to sell your Litmos Courses and Learning Paths, navigate to Account Settings → Litmos Features → Ecommerce.
On this page, select Stripe as a payment provider and enter a valid pair of API keys to connect your Stripe account with your Litmos account.
If you enter Stripe test keys and press "save", a "test" tag will show above the keys to indicate they are test keys.
To locate or generate these keys in your Stripe account, login and navigate to Developers --> API Keys to copy +paste the Publishable key and the Secret key into the Stripe Ecommerce setup within Litmos. If the keys are not generated yet, you may have to generate these.
Please note again that the example depicted here is a test account. Your account will have two sets of API keys – Live and Test. In order to get access to both of them, you will need to use the toggle switch in the left menu that says “View test data”. Clicking that switch will toggle between the live and test keys. Live keys will start with pk_ and sk_. The pk_ keys are the publishable keys. The sk_keys are the secret keys. Test keys will start with pk_test_ and sk_test_. The pk_ keys are the publishable keys. The sk_keys are the secret keys.
Your Stripe account owner must active the account to gain access to live data and use API keys for active account transactions. If you cannot see your API keys in the Dashboard, this means you do not have access to them. Contact your Stripe account’s owner and ask to be added to their team as a developer.
In order for an Account Owner in Stripe to generate the Stripe API Keys (Secret Key and Publishable Key), he/she will need to follow the below steps:
STEP 1: Log in to your Stripe dashboard.
STEP 2: Go to API in the left menu.
STEP 3: Your secret and publishable keys should be on this page. Before using generated secret keys you will need to use the toggle switch that says “Viewing test data”. You have to set it to ”Viewing live data”.
STEP 4: Now click on Reveal live key token
Once the keys are entered and saved, Courses and Learning Paths made available for sale on the Litmos Ecommerce Shopping Cart can be purchased using the stripe checkout. Please note that customers are not redirected to the Stripe checkout. The Stripe checkout sits behind a Litmos native checkout page.
If test API keys have been used, you can use a test credit card number. Those numbers can be found on the Stripe Help Docs.
If the purchase goes through successfully, the customer will be redirected to a confirmation page as shown below: