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:

Step 1: Visit the Stripe Marketplace

Visit the Superwall app on Stripe Marketplace:

Step 2: Install the App

Click Install app to begin the authorization flow:

Step 3: Continue Installation

Click Continue to proceed with the installation:

Step 4: Generate API Keys

Click Generate keys to create your API keys:

Step 5: Confirm Key Generation

Click Generate keys again to confirm:

Step 6: Copy Your Keys

After installation, you'll receive a Publishable Key and a Restricted Secret Key with the proper permissions already configured. Copy both keys:

Step 7: Configure Superwall

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

Then 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, switch to Test mode in your Stripe dashboard (toggle in the top-right corner), then follow these steps:

Step 1: Access the Superwall App

Navigate to the Superwall app in your Stripe dashboard. If already installed, find it under Apps:

Step 2: Install in Test Mode

If you haven't installed the app in test mode yet, click Install app:

Step 3: Continue Installation

Click Continue to proceed:

Step 4: Reveal Your API Keys

Click Reveal test key to view your test mode API keys:

Step 5: Copy Your Test Keys

Copy both the Publishable Key and Secret Key:

Step 6: Configure Superwall

Paste both keys into the Sandbox Configuration fields in Superwall, then 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