Stripe configuration for Tutor, Juniper Open edX release


I have set up an education web platform using Tutor with Open edX Juniper release. Can I please have the steps to set up Stripe payments next?


Thank you.


1 Like

Hello @rvgi2904,

You can use the Ecommerce plugin for the payment in the tutor.

And ecommerce of Open edX provides stripe as payment gateway by default. You can refer this documentation for Open edX ecommerce stripe payment gateway.


Thanks @jramnai for this

We use the Stripe as Payment Processor.

  1. Create an account or test account in Stripe, and get the api keys.

  1. Create ecommerce-config.yml

Fill in the details of the api keys. Keep the file secure.

  publishable_key: pk_test_XXXX
  secret_key: sk_test_XXX
  country: db
  1. Set up the payment processor in tutor.
tutor config save --set "ECOMMERCE_PAYMENT_PROCESSORS=$(cat ecommerce-config.yml)" \
tutor local init --limit=ecommerce
  1. Create Commerce Configuration in Django LMS Dashboard

In the django administration dashboard, section “Home › Commerce › Commerce configurations”

Add Commerce Configuration

Enabled: True
Checkout on ecommerce service: True
Basket checkout page:	/basket/add/
Cache Time To Live: 360
Receipt page: /checkout/receipt/?order_number=
Enable automatic refund approval: True
  1. Create waffle flag in Django Ecommerce Dashboard

In the django administration dashboard, section “Home › django-waffle › Flags › enable_client_side_checkout”


Name: enable_client_side_checkout
Everyone: Yes
Superusers: True
Staff: True
Authenticated: True
Note: This flag determines if the integrated/client-side checkout flow should be enabled.

More info in: Stripe ecommerce checkout errors - #7 by Headhurts - Tutor - Overhang.IO

  1. Create a course in the E-Commerce Courses page

Get the course key from the LMS by navigating to a course and examining its URL. The course key should look something like course-v1:edX+DemoX+Demo_Course.

Navigate to the E-Commerce Courses page ( to add the two test courses that are on your LMS instance to E-Commerce. Configure one course as a “Verified” course.


Check different types of enrollment tracks in the documentation resources below.

  1. Enroll in a Paid Course in the LMS

e.g.: With a student account, go to the configured paid course:

and click on “Enroll Now”

That will redirect to the ecommerce module in:

  1. Use a test card to complete the checkout.

Get a Test Card from:

  1. Check the Ecommerce Dashboard to get an overview of the payments:

With an administrator account go to:

  1. Check the status of the payments in the stripe dashboard:[]=successful

Documentation used to configure the ecommerce module

Tutor has his own discuss instance:


Thank you @Juan_M_Mendez for your reply. I will be following these steps while I set it up today.

1 Like