# Configure Stripe in the Unity Dashboard

> Configure Stripe to use the payment provider to handle payments for in-app purchases.

This integration uses Stripe [Managed Payments](https://stripe.com/managed-payments) as the merchant of record (MoR). As the MoR, Stripe assumes the legal responsibility for processing payments, which includes support with tax compliance, fraud prevention, disputes, and customer support. By leveraging Stripe as the MoR, you can significantly reduce your operational overhead and compliance burden for off-platform transactions.

To configure Stripe in the Unity Dashboard, complete the following steps:

1. In the [Unity Dashboard](https://cloud.unity.com), go to **Development** > **Products**.
2. Select **In-App Purchases**.
3. Select **Payment Providers**.
4. In the **Payment Provider Configuration** section, select **Connect**.
5. Select an **Account Type**:
   * Use **Sandbox Account** for testing.
   * Use **Live Account** for your live game.
6. Select **Connect** to open a dialog and link your Unity account with your chosen payment provider account via OAuth.
7. Set **Success Redirect URL** (ideally a deep link into your game).
8. Set **Cancel Redirect URL** (optional; ideally a deep link into your game).
9. Select **Save Configuration**.

> **Important:**
>
> To connect a Live account with Stripe, you first need to meet the Know Your Customer (KYC) requirements. For more information, refer to Stripe's [Identity verification](https://docs.stripe.com/connect/identity-verification) documentation.

> **Note:**
>
> If your game ships on multiple platforms, use a small proxy page to deep link to the correct platform for the Success Redirect URL. For more information, refer to the [Success URL deep link](./success-deep-link.md) example.

## Stripe configuration options

Refer to the following table to understand your configuration options:

| **Setting**              | **Description**                                                                                                                                                                                                                                                                                                                                                                                                            |
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Setup**                | **Complete**: You've configured all the required fields for the payment provider.**Incomplete**: You're missing a required configuration field and can't activate the payment provider.                                                                                                                                                                                                                                    |
| **Connection**           | **Linked**: You've successfully authenticated with the payment provider and installed Unity IAP to link the accounts.**Not Linked**: You need to re-authenticate with your payment provider. For Stripe, this issue can be due to either your app containing gambling (refer to [Prohibited and Restricted Businesses](https://stripe.com/legal/restricted-businesses)) or due to Unity IAP not being installed in Stripe. |
| **Account ID**           | Displays your Stripe account ID. This is obtained during the OAuth process.                                                                                                                                                                                                                                                                                                                                                |
| **Account Type**         | Defines the account type. Select **Switch account** to change between the following options: **Sandbox Account****Live Account**                                                                                                                                                                                                                                                                                           |
| **Success Redirect URL** | The URL that the payment provider redirects to after a successful payment. Ideally this is a deep link back into your game.                                                                                                                                                                                                                                                                                                |
| **Cancel Redirect URL**  | If provided, Stripe will add a back button to your checkout page and this URL will be its destination. Ideally this is a deep link back into your game.                                                                                                                                                                                                                                                                    |
| **Re-authenticate**      | Re-authenticates your Unity account with your payment provider account using the OAuth mechanism.                                                                                                                                                                                                                                                                                                                          |

## Disconnect Stripe

To remove the Stripe payment provider, you need to uninstall the Unity Purchasing app in your Stripe dashboard.

## Next steps

This page is part of a workflow to set up Direct to Consumer (D2C) payment providers with IAP. To continue this workflow, choose one of the following options:

[Integrate D2C payment providers](./workflow.md#configure-your-payment-provider): Return to the Integrate D2C payment providers with IAP workflow page.
[Add a routing rule](./routing.md): Proceed to the next step in the workflow.
