Skip to main content

How to set up Stripe subscriptions

Learn how to connect Stripe subscriptions to Teach ’n Go for automated monthly payments and automatic receipt generation.

Written by Abdullah Al-Hussein
Updated today

Teach ’n Go allows you to integrate Stripe subscriptions to automate recurring monthly payments. Once set up correctly, payments are synced automatically, fees are marked as paid, and receipts are generated without manual work.

This setup requires basic Stripe knowledge.


Step 1: Add your Stripe API keys

  1. Log in to your Stripe account.

  2. Go to Developers > API keys.

  3. Copy your Publishable key and Secret key.

Next:

  1. Log in to Teach ’n Go.

  2. Go to School settings > Integrations>Stripe.

  3. Paste your Stripe API keys.

  4. Click Save.


Step 2: Create your Developer API key in Teach ’n Go

  1. Go to School settings > Developers.

  2. Create a Developer API key (if not already created).

  3. Copy this key — you will need it for the webhook setup.


Step 3: Enable Stripe subscriptions and set up a webhook

Stripe must notify Teach ’n Go when subscription payments succeed.

Enable subscriptions

  1. Go to School settings > Stripe subscriptions.

  2. Enable Stripe subscriptions.

Create webhook in Stripe

  1. Log in to Stripe.

  2. Go to Developers > Webhooks.

  3. Click Add endpoint.

  4. Enter this URL:

https://app.teachngo.com/TngSubscriptions/recurringSubscriptionEvent/your_developer_API_key

(Replace your_developer_API_key with your actual key.)

  1. Under events, select:

    invoice.payment_succeeded

  2. After creating the webhook, copy the Signing secret key.

  3. Paste this signing secret into Teach ’n Go.

  4. Click Save.

Your subscription sync is now connected.


Step 4: Create products and subscriptions in Stripe

Each recurring fee must match a Stripe product.

Create a product

  1. In Stripe, create a Product.

  2. Set the monthly price to match the class fee in Teach ’n Go.

You must create separate products for different prices (e.g. €50, €70, €100).

After creating the product:

  • Copy the Price ID.


Create a subscription

  1. Create a Subscription for the customer in Stripe.

  2. Charge immediately or send the invoice.

  3. Copy the Subscription ID.

⚠️ Important:

The Stripe subscription period must match the class fee period in Teach ’n Go.


Step 5: Link the subscription to a class in Teach ’n Go

Enable Stripe subscription on the class

  1. Create or edit a class in Classes.

  2. Enable Stripe subscription for the class fee.

  3. Enter the Price ID from Stripe.

  4. Save.


Add the subscription ID to the student

  1. Open the relevant class.

  2. Go to the Fees tab.

  3. Edit the student’s fee.

  4. Enter the Subscription ID from Stripe.

  5. Save.


How it works each month

Once everything is connected:

  1. Stripe processes the monthly subscription payment.

  2. Stripe sends a webhook notification to Teach ’n Go.

  3. Teach ’n Go:

    • Marks the monthly fee as paid

    • Generates a receipt automatically

    • Updates the student’s account

No manual payment recording is required.


Troubleshooting

  • Payments not syncing? Check webhook URL and signing secret.

  • Fee not marked paid? Confirm the correct Subscription ID is entered.

  • Wrong amount syncing? Ensure Stripe product price matches the class fee exactly.


Stripe subscriptions automate recurring payments, reduce admin time, and ensure accurate fee tracking inside Teach ’n Go.

Did this answer your question?