Superwall

Stripe Setup

Connect Superwall to Stripe using the official Stripe app and configure your settings.

Once you've created a Stripe app, you'll need to connect it with Stripe and fill in a few settings. This is a one-time setup that connects Superwall to Stripe. The easiest way to get started is to click on the link in your overview page, which will take you to your app's Settings page:

Application settings

Fill out metadata about your iOS app in this section.

  1. Icon: An icon to represent your app, we recommend using the same one that your iOS app does. This will appear on the checkout and subscription management pages.

  2. Application Name: The name of your app, we recommend using the same name as your iOS app.

  3. Support URL: A URL to your support page. This will be shown on the checkout and subscription management pages.

  4. Support Email: An email you provide customers for support questions and general reach out

  5. Redeemable on Desktop: If your app is an iPad app on Mac, enable this option so that users can redeem products on their Mac. If you aren't using iPads Apps on the Mac, you can disable this. If this is disabled, Superwall enforces redemption on an iOS device.

Once you've filled out this information, click on the Update Application button.

Post-Purchase Behavior

Configure what happens after a user completes a purchase on the web:

Redeem (Default): Superwall manages the entire redemption flow. Users are automatically deep linked to your app with a redemption code, with fallback to the App Store/Play Store if the app isn't installed. This is recommended for most apps.

Redirect: Redirect users to your own custom URL with purchase information passed as query parameters. Use this when you need to:

  • Show a custom success or onboarding page
  • Perform additional verification or actions before redemption
  • Integrate with your own deep linking infrastructure

When using Redirect mode, you'll need to provide a Redirect URL (must start with https://). Purchase data will be appended as query parameters:

  • app_user_id - User's app identifier
  • email - User's email address
  • stripe_subscription_id - Stripe subscription ID
  • Any custom placement parameters you've set

Learn more about post-checkout redirecting.

Web Paywall Domain

This is the domain your paywalls will be shown from. This was set when the Stripe app was created, and cannot be changed.

Stripe Live Configuration

To connect Stripe with Superwall, you'll use the official Superwall Stripe app:

  1. Visit the Superwall app on Stripe Marketplace
  2. Click Install app and follow the authorization flow
  3. After installation, you'll receive a Publishable Key and a Restricted Secret Key with the proper permissions already configured
  4. Copy both keys from the Stripe app installation page
  5. Paste the keys into the corresponding fields in Superwall:
    • Publishable Key: Your Stripe publishable key from the app
    • Secret Key: The restricted secret key provided by the app
  6. Click on Update Configuration to save your changes

This section should say "Configured" at the top right if setup was successful:

Stripe Sandbox Configuration

The Superwall Stripe app provides both live and test mode keys. Make sure you're in the correct mode in your Stripe dashboard when copying keys.

For sandbox/test mode:

  1. Switch to test mode in your Stripe dashboard
  2. Access the Superwall Stripe app settings to view your test mode keys
  3. Copy the test Publishable Key and Secret Key from the app
  4. Paste both keys into the Sandbox Configuration fields in Superwall
  5. Click on the Update Configuration button

This section should say "Configured" at the top right if setup was successful.

iOS configuration

Superwall uses the details here to handle deep links back to your app after a purchase occurs. All of this information is required.

  1. Apple Custom URL Scheme: Add your app's custom URL scheme. If you haven't set on up, read here for instructions.
  2. Apple App ID: Your iOS app's ID. If you're unsure of your app's ID, you find it in App Store Connect -> Select your App -> General -> App Information -> Apple ID:
  1. Bundle ID: Your iOS app's bundle ID. You can find this in Xcode -> Targets -> General -> Identity -> Bundle Identifier.
  2. Team ID: The team ID that your iOS app belongs to. To find this, visit Apple Developer -> Account -> Membership details -> Team ID. It's obscured here, but it'll be where the arrow points in the image below:

Confirm setup

Once you've filled out all of these fields, you should see Configured for each section:

Next, you'll need to create some products in Stripe.

How is this guide?

Edit on GitHub