Upgrade to UInterfaceV2

This guide will walk you through the process of upgrading UPayments UInterface Payment Gateway from V1 (Legacy) to the latest UInterfaceV2

UInterfaceV2 is equipped with major enhancements and features that elevate the Payment Gateway overall and payment processing experience for merchants and customers.

Click to learn more about the new features

In this guide, you will find the following:

  • API Upgrades
    • Sandbox Testing Environment
      • Testing Your Upgrades
    • Production Environment
      • Go-Live Checklist
  • Plugin Upgrades

API Upgrades

Sandbox Testing Environment

We highly recommend starting with the UInterfaceV2 Testing Environment to test the upgraded Payment Gateway and its features before switching to the Production Environment

Follow the following steps to upgrade your current UInterfaceV1 to the latest UInterface V2 Sandbox Testing Environment.

  1. Update your code with reference to the sample code provided here in order to create a payment request.
  2. Update your payment request API endpoint from
    https://api.upayments.com/test-payment to
    https://sandboxapi.upayments.com/api/v1/
📘

Test API Keys (Bearer Token)

(or)

  • Whitelabeled API: Wty6udt79cf75fba327ff718jht5ns6gfgst7hsy6T

Your API Key is either Non whitelabel or Whitelabel. Both features cannot be used simultaneously with the same API Key

HMAC Secret Key

For generating the HMAC Signature, use the HMAC Secret Key as explained here

Secret Key: sk_test_01a0a4b450b4c4738b586d7f33134d44

The old API endpoints must be replaced with the new API endpoints given below

Testing your Upgrades

After replacing all V1 APIs with UInterfaceV2 APIs, you can start testing using the Sandbox Environment.

This Environment facilitates testing the upgrade without requiring real payments or charges. This environment has the same behavior as the Production Environment, including the creation of genuine objects.

Test API Keys can be used for this purpose, along with Test Card details.

Production Environment

The APIs below will need to be replaced with new V2 API Production Environment Links

Go-Live Checklist

Once you finalize your upgrade by testing the V2 Sandbox Environment and updating to V2 Production APIs, you are ready for the final Go-Live Checklist to ensure that everything is working smoothly:

Plugins

If you are using a UInterfaceV1 plugin, please find the new UInterfaceV2 plugin list below:


If you have any questions or in need of any assistance, kindly contact our team at: [email protected]