Documentation

Configure Coda in the Unity Dashboard

Configure Coda as a payment provider for in-app purchases.
Read time 2 minutesLast updated 10 days 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. For the division of responsibilities in these processes, refer to Refunds and disputes for D2C payments.
Note
Unity doesn't charge a fee to use IAP with Coda. Coda sets its own transaction fees, which you negotiate directly with Coda.
Coda can't process purchases until you set a Success-redirect URL, which you configure once in the Unity Dashboard for all your payment providers. For more information, refer to Set your redirect URLs.
To configure Coda in the Unity Dashboard, complete the following steps:
  1. In the Unity Dashboard, open In-App Purchases > Payment Providers.
  2. 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.
  3. 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.
  4. After you have linked your Unity project, select Back to Unity.
  5. Select Save Configuration.
  6. In Payment Provider Configuration, select Edit to set the redirect URLs that apply to all your payment providers. For more information, refer to Set your redirect URLs.

Coda configuration options

The following table describes the configuration options that Unity displays for Coda in Payment Provider Configuration. To set the redirect URLs that Coda uses after checkout, refer to Set your redirect URLs.

Setting

Description

Title Product NameThe name of the linked Unity project in Coda.
Title Product IDThe ID of the linked Unity project and configuration in Coda.
Environment typeDefines the account type. Select Switch environment to change between the following options:
  • Sandbox
  • Production
Re-authenticateRe-authenticates your Unity account with your payment provider account using the OAuth mechanism.
Note
To use a live Production account, complete Coda's account verification requirements.

Disconnect Coda

To disconnect your Unity project from your Coda title, you need to contact Coda directly. You can't disconnect through the Unity 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: