-
Go to the Build Settings window and make sure your Unity project is set to WebGL. Once set, the
AppchargeConfigfile updates to display WebGL-specific configuration options.
-
Your configuration settings should look like this:
By default, the configuration file is preconfigured for integration. However, you must set the required Environment and Checkout Public Key fields under Publisher Info.Publisher Info
These settings can also be changed at runtime, but doing so requires re-initializing the SDK.Property Value Description Environment EnumSets the checkout environment. Use Sandboxfor testing andProductionfor live payments.Checkout Public Key StringDefines the checkout public key. You can find it by going to the Publisher Dashboard → Settings → Integration.
