Configure Coda in the Unity Dashboard
Configure Coda as a payment provider for in-app purchases.
Read time 2 minutesLast updated a day ago
This integration uses Codapay as the merchant of record (MoR). This means Coda assumes the legal responsibility for processing payments, which includes support with tax compliance, fraud prevention, disputes, and customer support. By leveraging Coda as the MoR, you can significantly reduce your operational overhead and compliance burden for off-platform transactions. For more information, refer to the Codapay documentation website. To configure Coda in the Unity Dashboard, complete the following steps:
- In the Unity Dashboard, open In-App Purchases > Payment Providers.
- In Payment Provider Configuration, find Coda and select Connect:
- If you already have an environment from your current project connected to a Coda title, select that environment or create a new one.
- In the dialog, follow the steps to link your Unity project to a Coda title.
- You can also use this dialog to create a Coda account and Coda title if you don't already have one.
- After you have linked your Unity project, select Back to Unity.
- Set Success Redirect URL (ideally a deep link into your game).
- Set Cancel Redirect URL (optional; ideally a deep link into your game).
- Select Save Configuration.
Coda configuration options
The following table describes the available configuration options:Setting | Description |
|---|---|
| Setup |
|
| Connection |
|
| Title Product Name | The name of the linked Unity project in Coda. |
| Title Product ID | The ID of the linked Unity project and configuration in Coda. |
| Environment | Defines the account type. Select Switch environment to change between the following options:
|
| 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, Coda 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. |