Debugging errors

Useful information can be obtained in relation to our Redirect Checkout, Native Checkout v2 or any of our e-commerce plugins from the API headers X-Viva-CorrelationId and X-Viva-EventId. Viva Wallet may ask you for the values from these when troubleshooting any potential issues with your integration.

Request headers

Header name Type Required Description
X-Viva-CorrelationId string false Unique ID, can be used for tracing. If not supplied the API will generate one and include it in the response headers.

Response headers

Header name Type Required Description
X-Viva-CorrelationId string false Unique ID, can be used for tracing. If supplied in the request, it contains the original value.
X-Viva-EventId number false Unique id, signifies the occurence of a specific event.

Where to find

The above two headers can normally be found in the response from a request sent to the Viva Wallet API.

Postman

To locate in Postman, click on the Headers tab as shown below:

Postman response header

Google Chrome

To locate in Google Chrome:

  1. On the payment page of one of our e-commerce plugins, go to View > Developer > Developer Tools to show the Chrome developer tools with the Network tab selected alongside your webpage.

  2. Enter dummy card details and click on the Place order button after accepting the terms and conditions.
    An order confirmation page is displayed.

  3. Check the developer tools data which should have been updated with a series of request items, one item listed per line. Click once on one of the Viva Wallet API calls and you will see detailed information. X-Viva-CorrelationId will be shown in the Response Headers section:

    Chrome response header