Skip to main content
This article explains how to integrate Unity Payment Links with the WebGL platform. To integrate with WebGL:
  1. Go to the Build Settings window and make sure your Unity project is set to WebGL. Once set, the AppchargeConfig file updates to display WebGL-specific configuration options. WebGL Build Settings
  2. Your configuration settings should look like this: WebGL Configurations
    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.
    PropertyValueDescription
    EnvironmentEnumSets the checkout environment. Use Sandbox for testing and Production for live payments.
    Checkout Public KeyStringDefines the checkout public key. You can find it by going to the Publisher Dashboard → Settings → Integration.