v1.4.6

Release Date

Oct 15th 2025 06:00 in UTC

Note

What's improved

  • We added a safeguard that rejects payment requests when the connected wallet's chainId does not match the payment environment (mainnet/testnet).

    • Testnet: chainId: 1001, testMode: true

    • Mainnet: chainId: 8217, testMode: false

    • Any other combinations will result in a payment error.

    • When a payment error occurs, the SDK automatically detects the issue and throws an exception to the developer’s code. The following messages may appear in the log:

      • The payment is set to test mode, but DappPortalSDK is initialized with mainnet (8217).

      • The payment is set to non-test mode, but DappPortalSDK is initialized with testnet (1001).

Last updated