Documentation

Configure your payment provider

Configure your payment provider in the Unity Dashboard to handle payments for in-app purchases.
Read time 2 minutesLast updated 7 days ago

To enable payments in your game, you must configure your payment provider account in the Unity Dashboard. This process links your Unity Gaming Services project with your payment provider's account, allowing the payment provider to process transactions on your behalf.
Note
Unity doesn't charge a fee to use IAP with a payment provider. Each payment provider sets its own transaction fees, which you negotiate directly with the provider.

Set your redirect URLs

The redirect URLs define where a payment provider sends a player after checkout. These settings are global: they apply to every payment provider you configure, including Stripe and Coda.
To set your redirect URLs, follow these steps:
  1. In the Unity Dashboard, go to Development > Products > In-App Purchases > Payment Providers.
  2. In Payment Provider Configuration, select Edit.
  3. Set Success-redirect URL to the location you want players to return to after a successful payment. Ideally, use a deep link into your game.
  4. Set Failure-redirect URL (optional) to the location you want players to return to if a transaction doesn't go through. Ideally, use a deep link into your game.
  5. Select Save.
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 example.

Connect your payment provider

The configuration process varies depending on your payment provider. Select your payment provider from the following options to learn the specific steps required:

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: