Skip to content

Test transaction at Demo

Steps to test payment with Viva's Demo environment before coming out live: setup, successful and cancelled payment, order control.

Applies to v2.0.2 Updated 18 Nov 2026 1 min read Step 6 of 13
v2.0.2 · WooCommerce 7.0+ · PHP 7.4+ Buy Support

Before accepting actual payments, make at least one successful and one cancelled test in Viva's Demo environment.

Preparation#

  1. Open a demo account on Viva and create Payment Source there with the site URLs (see page 1). connection to Viva account).
  2. In plugin select Viva Payments Host = Demo.
  3. Go through them. demo Merchant ID, API Key and Source Code and save.

Successful payment#

  1. Add a product to the basket and select Viva Payments Checkout.
    Payment modes at checkout with selected Viva Payments
    In checkout select "Viva Payments".
  2. Press Send Order. You will be transferred to Viva's payment page.
  3. Pay with one of the test cards Viva gives for the demo environment.
  4. You must return to the page Order received.
  5. In admin open the order: must be Edited, note Viva Order Code … and transaction ID.

Cancelled payment#

  1. Start a new order and cancel the payment on Viva's page.
  2. You must return to checkout with the message “Error occurred while processing your payment via VivaPayments.”
  3. Order stays. Waiting for payment And the client can try again.

If you have instalments, try a basket within their range, in the classic checkout, and check that Viva offers instalments. If something is wrong, see them. common problems.

Did this article help you?
It's not solved?

Send a request; the plugin and the article are automatically completed.

Request support