Setup the AppChargeConfig File
- Locate the
AppChargeConfig
file in the folderAssets/Resources/AppCharge
. - In case the
AppChargeConfig
file is not presented, right clickCreate > Appcharge > ConfigFile
- Configure the following settings:
Setting | Description |
---|---|
Environment | Choose your desired environment. (Either Sandbox or Production) |
Public Publisher Token | Paste your public token obtained from the Appcharge dashboard. |
Show Loader | Choose if you want to display the visual loader when loading the checkout. |
Show Success | Choose if you want to display the default success screen after a successful transaction. |
Canvas Name | Specify the name of the Canvas to be used for the Appcharge Checkout (The name of your canvas in the scene). |