Zum Hauptinhalt springen

Take payments with Stripe

This guide explains how to let users pay for your Casdoor products with Stripe.


Learning outcomes​

  • Get the API keys from Stripe.
  • Add Stripe as a payment provider and add it to a product.

What you need​


Get the API keys​

In the Stripe dashboard, under API keys, copy the Publishable key and the Secret key.

API keys in the Stripe dashboard

Add the provider in Casdoor​

  1. In the Casdoor admin console, go to Identity > Providers and add a provider.

  2. Set Category to Payment and Type to Stripe.

  3. Fill in the fields:

    Casdoor fieldWert
    Client IDPublishable key
    Client secretGeheimer Schlüssel

    Stripe provider in Casdoor

  4. Save the provider.

Add the provider to a product​

Add the provider to the Payment providers of the product and save it.

Stripe in the payment providers of a product

See also​