Skip to content

Return URLs and payment confirmation

How Viva payment is confirmed at WooCommerce: Success and Failure URL, transaction check, cache and firewall. There is no webhook.

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

The plugin does not use webhook. The order is updated when the customer, after payment, returns from Viva to your site. Therefore the two URLs must be correct.

URL on VivaQuotationWhat's going on?
Success URLhttps://το-site-σας/wc-api/WC_Gateway_Viva/The plugin asks Viva about the transaction. If it's okay, complete the payment, write the transaction ID and send the customer to the page Order received.
Failure URLhttps://το-site-σας/wc-api/WC_Gateway_Viva/?status=failThe customer returns to checkout with an error message. Order stays. Waiting for payment.

The exact URLs, with your domain, are seen above the fields on the plugin configuration page. In Viva's Payment Source the domain enters the Domain name. In Success URL and Failure URL write only what follows after domain.

What to check#

  1. In Viva's Payment Source Domain name is just that of the site, with or without www, as the site opens, and Protocol is https.
  2. The route /wc-api/WC_Gateway_Viva/ is excluded from cache (plugin cache, CDN, Cloudflare) and is not blocked by firewall or safety plugin.
  3. If you have changed domain, protocol or moved the site, update URLs to Viva's Payment Source.

If the client doesn't come back#

If the client closes the browser immediately after payment, the order remains Waiting for payment although Viva has charged the card. Find the transaction to Viva with the Viva Order Code from the order notes and manually change the situation to Edited.

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

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

Request support