Configuration

Configuring Stripe Payment Provider

You will need to add your Stripe Secret API key into your appsettings.json below the LicenseKey as below:

  "UmbCheckout": {
    "Stripe": {
      "Test": {
        "ApiKey": "TEST STRIPE SECRET API KEY"
      },
      "Live": {
        "ApiKey": "LIVE STRIPE SECRET API KEY"
      }
    }
  }

You can find your Stripe Secret API key within your account by heading to Developers -> API keys

If you are going to use the Stripe Webhook (Recommended) then you will need to add the following secret into your appsettings.json

  "UmbCheckout": {
    "Stripe": {
      "Test": {
        "WebHookSecret": "STRIPE TEST WEBHOOK SECRET"
      },
      "Live": {
        "WebHookSecret": "LIVE STRIPE WEBHOOK SECRET"
      }
    }
  }

You can create your WebHook Secret within your account by heading to Developers -> Webhooks

You will also need to ensure your Webhooks are configured for Stripe API version:

2023-08-16

Your product can have the following optional properties

AliasProperty Type

umbCheckoutMetaData

umbCheckoutTaxRates

Last updated