Skip to content
All Guide to One Page

Viva Payments for WooCommerce

Connect Viva Payments to WooCommerce, configure and test the gateway, set up instalments, check order statuses and troubleshoot payment problems.

Applies to v2.0.2 (24 Aug 2026) · WooCommerce 7.0+ · WordPress 6.0+ · PHP 7.4+

1. Overview and guide

Guide to Viva Payments at WooCommerce: what it does, what you need from Viva and all the help articles for installation and regulation.

The Viva Payments for WooCommerce add to WooCommerce card payment via Viva's secure payment page. The customer chooses Viva Payments, transferred to Viva, pays and returns to e-shop, where the order is automatically updated.

Who's it for?#

For e-shops with WooCommerce who have or will open a business account on Viva and want card payments, optionally with instalments per basket amount.

What you need#

  • WordPress with WooCommerce and SSL (https).
  • Viva account with online payments: Merchant ID, API Key and a Payment Source for the site.
  • The plugin ZIP from your OBS account (version 2.0.2).

Quick start#

  1. Install and activate the plugin.
  2. Build Payment Source on Viva with the URLs that show the plugin.
  3. Pass the demo data and test it.
  4. Pass the live data and make a small real payment.

All Guides#

  1. Viva Payments for WooCommerce: installation and activation
  2. Viva Payments for WooCommerce: license and domain
  3. Viva Payments for WooCommerce: connection to Viva account
  4. Viva Payments for WooCommerce: plugin settings
  5. Viva Payments for WooCommerce: running a transaction in the demo environment
  6. Viva Payments for WooCommerce: Return URLs and payment confirmation
  7. Viva Payments for WooCommerce: instalments by cart total
  8. Viva Payments for WooCommerce: order statuses
  9. Viva Payments for WooCommerce: refunds
  10. Viva Payments for WooCommerce: classic checkout and Checkout Blocks
  11. Viva Payments for WooCommerce: going live and changing domains
  12. Viva Payments for WooCommerce: common problems

OBS makes installation and setting free. If you get stuck in a step, open a support request. See also the product page.

Article: Overview and guide →

2. Installation and activation

Download Viva Payments' ZIP from the OBS account, upload it to WordPress and enable the payment method to WooCommerce.

The plugin is installed like any WordPress plugin. You need administrator rights and active WooCommerce.

Installation steps#

  1. Login to your OBS account and open the section Downloads.
  2. The WooCommerce Payments with Viva Payments press Download v2.0.2 and store ZIP (viva-payments-woocommerce-2.0.2.zipDo not decompress it.
  3. In WordPress go Plugins → Add Add Add Add (page opens with title Add Plugins) and press Transhipment Plugin.
  4. Press Select File, choose ZIP and then Install Now.
    The "Add Plugins" page with the download open, selected Viva Payments' ZIP and the "Install Now" button officialized
    Select ZIP and press "Register Now".
  5. Once completed, press Enable Plugin.
    The screen after installation with the message ‘The plugin has been installed successfully’ and the ‘Add plugin activation’ button is marked
    When the installation is completed, press "Enable plugin".
  6. In the plugin list it will appear as WooCommerce Viva Payment Gateway.
  7. Open WooCommerce → Settings → Payments. The Line Viva Payments It's already seen Active. Press Management On the line to pass your data.
    WooCommerce's payment providers list with Viva Payments method and the "Managing" button officialized
    In the "Payments" list press "Management" on the Viva Payments line.

Upgrade from earlier version#

Upload the new ZIP the same way. WordPress will show the plugin already exists: press Replace current with downloaded. Your settings stay at the base. Before each upgrade hold backup.

OBS does free If you prefer, open a request for support and we'll do it.

Viva Payments plugin for WooCommerce active on WordPress Plugins page
The "WooCommerce Viva Payment Gateway" plugin is active in the plugin list.

Article: Installation and activation →

3. License and domain

How Viva Payments license works for WooCommerce: a domain statement to the OBS account, change domain and updates.

Is there a License key field on WordPress?#

No, version 2.0.2 has no field or License key button within WordPress and works immediately after activation. You do not need to paste a key to the method settings. The license is managed by your OBS account and corresponds to one e-shop (domain).

Statement of domain on licence#

  1. Login to your OBS account and open Licences.
  2. Find his permission WooCommerce Payments with Viva Payments. With the button Copy hold the key if you need it in communication with support.
  3. The Activated domains press + Add domain.
  4. Write his domain e-shop (e.g. example.gr, without https://) and press Enable.

Change domain#

  1. Click on the same page Change domain Next to the old domain.
  2. Write the new domain and press Save.
  3. If you just want to release the license, press Release.

The indication Domains shows how many domains you have declared in relation to the limit of the license. If you need a higher limit (e.g. for staging or second store), press Licence help at the bottom of the page or open a request for support.

Updates#

Version 2.0.2 does not control for updates alone. New versions are shown in Downloads your account and are installed as described in the article installation and activation. Updates are free for as long as the license is valid (life expectancy).

If you transfer the store to a new domain, in addition to the license you need a new Payment Source on Viva. See the article switch to Live and change domain.

Article: Licence and domain →

4. Connect to Viva account

What information do you need from Viva (Merchant ID, API Key, Payment Source, Source Code) and what fields of plugin enter.

The plugin is linked to Viva with the classic API details of your account and sends the customer to Viva payment page (redirect). For the connection you need an active Viva business account with online payments and SSL (https) in e-shop.

1. Merchant ID and API Key#

  1. Login to your Viva account.
  2. Open the API access section of the account (Settings → API Access).
  3. Copy Merchant ID and the API Key.
  4. In WordPress paste them into the fields Viva Merchant ID and Viva API Key.
    The fields “Viva Merchant ID” and “Viva API Key” in Viva Payments settings, supplemented with test values
    The fields "Viva Merchant ID" and "Viva API Key" (here with test values).

Caution: plugin no uses Smart Checkout's Client ID / Client Secret. If you created such data, you do not need it here.

2. Payment Source for the site#

On the plugin configuration page, above the fields, the exact URLs of your own site are displayed. With these, create Payment Source on Viva:

Viva Payments settings with the site's Success URL and Failure URL are flagged
Success URL and Failure URL are displayed at the top of the configuration page.
  1. In Viva open Sales → Online payments → Websites/Apps and press Add Website/App.
  2. The Protocol select https.
  3. The Domain name write the site domain without https:// and without / at the end (e.g. www.example.gr), as the site opens.
  4. The Integration method let go Redirection/Native Checkout v2.
  5. The Success URL write only the path after domain: wc-api/WC_Gateway_Viva/.
  6. The Failure URL write wc-api/WC_Gateway_Viva/?status=fail.
  7. Save and note code (Source Code) of the source.
  8. In WordPress write the code in the field Source Code and press Save Changes.
    The ‘Source Code’ field and the ‘Storage Changes’ button in Viva Payments settings markedly
    Write the code in the "Source Code" and save.

The plugin still writes the old route Sales → Payment Sources and shows the URLs whole, along with the domain. In Viva the domain enters only in Domain name.

Demo and live elements are different. What you put must belong to the same environment as the Viva Payments Host (Demo or Live).

Detailed fields will be found in the article Plugin Settings.

Article: Login to Viva account →

5. Plugin Settings

All fields of the Viva Payments method at WooCommerce: Title, Description, Host, Merchant ID, API Key, Source Code, Payment Timeout and installments.

Settings are in WooCommerce → Settings → Payments → Viva Payments. It's a page, in the fields in this order:

FieldWhat's he doing?Default
Enable/Disable (Enable Viva Payments)Shows or hides the method in checkout.Active
TitleThe name of the method the client sees.Viva Payments
DescriptionText under the method, e.g. that the client will be transferred to Viva's page. If empty, no option appears Number of Instalments In the classic checkout.Empty
Viva Payments HostDemo for tests, or Live for real payments.Demo
Viva Merchant IDThe Merchant ID of the Viva account.—
Viva API KeyThe Viva account API Key.—
Source CodeThe Payment Source code you created for the site.Default
Payment Timeout, secsHow many seconds does the client have to pay on Viva's page?300
Max Installments (number from 1 to 36)Table with columns Min Total, Max Total, Max Installments and buttons Add / Remove. Sets how many instalments are allowed per basket amount.No instalments
Viva Payments plugin settings for WooCommerce: Host, Merchant ID, API Key, Source Code and installments
The Viva Payments configuration page. The connection data have been covered.

What you won't find in the settings#

  • Select order status: after successful payment order is always made Edited. See Order states.
  • Webhook URL: confirmation is done by returning the customer to the site. Return URLs.
  • License key field: see license.

After each change press Save Changes.

Article: Plugin settings →

6. Test transaction at Demo

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

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.

Article: Trial transaction at Demo →

7. 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.

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.

Article: Return URLs and payment confirmation →

8. Instalments per basket amount

Set instalments at Viva Payments for WooCommerce: Min Total, Max Total, Max Instruments, what the customer sees and how you control them.

Instalments are set out in the table Max Installments (number from 1 to 36) the method's settings. Each line says: for basket over Min Total and up to Max Total permitted until Max Installments instalments.

Add Rule#

  1. Press Add. A new line appears.
  2. Complete Min Total and Max Total (e.g. 100 and 300).
    The Max Instruments table of the arrangements with a new line and completed the Min Total 100 and Max Total 300
    New line with "Min Total" 100 and "Max Total" 300.
  3. Press Save Changes.
  4. After storage fill in the line Max Installments (e.g. 3) and press again Save Changes.
  5. Refresh the page and check that the line kept all three prices.
    After storage table, with two lines: 100 to 300 to 3 instalments and 300 to 10000 to 6 instalments
    After storing each line must have all three values.

Example: lines 100–300 to 3 instalments and 300–10000 to 6 instalments. Cart 250€ sees up to 3, basket 500€ to 6, basket 80€ no instalment selection. Narin Remove You're deleting a line.

What the customer sees#

  • The classic checkout shows up Number of Instalments with options from 1 to maximum, only when the Description the method is not empty. The selection is sent to Viva as a maximum number of payments.
    The Viva Payments method in classic checkout with the selection of "Number of Instalments" officialized
    Classic checkout: the ‘Number of Instalments’ option is shown under the method description.
  • Checkout Blocks appears Number of installments under the description of the method. In version 2.0.2 this option does not reach Viva and the payment is made without instalments. If you want instalments, use the classic checkout.
    The Viva Payments method in Checkout Blocks with the option "Number of installments" official
    Checkout Blocks: the "Number of installments" option under the description.

The plugin does not add interest. If you want a charge per number of instalments, see the plugin interest-bearing instalments for WooCommerceAttention: The plugin is updated for WooCommerce 11 and is currently not functioning reliably with WooCommerce 11.2, so contact OBS before using it.

Guide: Instalment options by cart total →

9. Order statuses

What status does WooCommerce order get in successful, cancelled or incomplete Viva payment and what the order notes mean.

CaseStatus at WooCommerceNotes
The client stepped on Send OrderWaiting for paymentNote Viva Order Code …
Successful payment and return to siteEditedStock reduction, order email, transaction ID
Cancellation or failure in VivaStays on payment waitingClient returns to checkout with error message
Non-refundable payment on siteStays on payment waitingCheck the transaction in Viva

Why Always "In Edited"#

After successful payment the plugin puts the order in Edited, even for digital products, so you can see which orders remain to be sent. This arrangement applies to all payments completed at WooCommerce, not only to Viva. If you sell downloadable products using another method and want automatic completion, let us know before installation.

Order cancelled though paid#

  1. Open the order and read the notes. If it says it was cancelled due to a unpaid order time limit, WooCommerce canceled it.
  2. Increase it Stock commitment duration (minutes) The WooCommerce → Settings → Products → Stock to be larger than the Payment Timeout.
    The field ‘Storage commitment duration (minutes)’ in the settings Products, Stock tab, marked
    The arrangement is located in the "Products" → "Reserve". In Greek by WooCommerce it is called the "Several stock commitment (minutes)".
  3. If the note says the situation changed by mass processing, it changed admin user.
  4. Confirm the transaction to Viva and restore the order to Edited.

Article: Order Statements →

10. Refunds

How you make refund for Viva payment: from Viva environment and registration to WooCommerce order.

Version 2.0.2 does not make refunds from WooCommerce. If you press a return within the order, Viva is not informed and the customer does not get money back.

Steps#

  1. Open the order at WooCommerce and note it Viva Order Code from notes and transaction number.
  2. Connect to Viva and find the transaction in your sales.
  3. Make a total or partial refund there.
  4. Go back to WooCommerce, press Refund, write the amount and complete with the manual return button to update the totals and stock.
    The money back window of an order with the button "Hand-operated money back" marked
    The "Hand-moving refund" button records the return without transferring money.
  5. In a total refund WooCommerce changes the status of the order to Refund.

Manual recording at WooCommerce does not transfer money. It only keeps your order and reports correct.

If you do not find the transaction, search Viva with the amount and date or email of the client, which the plugin sends along with the payment.

Article: Refunds →

11. Classic checkout and Checkout Blocks

The Viva Payments method works in classic checkout and WooCommerce Checkout Blocks. What differs in appearance and instalments.

The plugin states the method and WooCommerce Checkout Blocks, so either the purchase integration page uses block Checkout or the classic shortcode [woocommerce_checkout].

Classic checkoutCheckout Blocks
Method NameFrom the TitleFrom the Title
DescriptionFrom the DescriptionFrom the Description
Selection of instalmentsNumber of InstalmentsNumber of installments
PaymentRedirect to VivaRedirect to Viva
Payment modes in classic checkout, with Viva Payments selected and the "Number of Instalments" option
Classic checkout: Viva Payments with "Number of Instalments".
The "Payment Options" section in Checkout Blocks, with Viva Payments selected and the "Number of installments" option
Checkout Blocks: Viva Payments with "Number of installments".

How do you see which checkout you have?#

  1. Open Pages and edit the page Checkout.
  2. If you see the block Checkout (Checkout), you have Blocks. If you only see the shortcode, you have classic checkout.

Tips#

  • In Blocks the description is normally shown below and the instalment selection.
  • In version 2.0.2 the selection of Blocks instalments does not reach Viva. For instalments use the classic checkout.
  • The instalment range is calculated with the whole basket. If the total changes to the checkout page (e.g. transport), renew the page in your test.
  • Check the flow in both checkout with one test transaction If you change the subject or page builder.

Article: Classic checkout and Checkout Blocks →

12. Go to Live and change domain

Checklist to pass Viva Payments from Demo to Live, and what changes when transferring or copying e-shop in another domain.

From Demo to Live#

  1. On Viva (live account) make Payment Source with Redirection and the Success / Failure URLs of the site.
  2. In plugin select Viva Payments Host = Live.
  3. Replace Merchant ID, API Key and Source Code with live data and store.
    Viva Payments settings with "Live" selected in "Viva Payments Host" and Merchant ID, API Key and Source Code fields marked
    Select "Live" and pass live data (here test values).
  4. Make a real small payment and check that the order went in Edited.
  5. Refund the amount from Viva (see page 1). refunds).

Check before start#

  • Host, Merchant ID, API Key and Source Code all belong to the live environment.
  • The route /wc-api/WC_Gateway_Viva/ except for cache and firewall.
  • The Stock commitment duration (minutes) of WooCommerce is larger than Payment Timeout, secs (beware the units: minutes at WooCommerce, seconds at Viva).
  • Your team knows the returns are made by Viva.

New domain, staging or copy of the site#

  • Each domain needs its own Payment Source in Viva, with its own URLs.
  • In the OBS license state the new domain with Change domain or, if both will work, ask for additional permission (see license).
  • In a copy for tests turn Host on Demo, so that no real cards are charged.

Article: Go to Live and change domain →

13. Common problems

Solutions for Viva Payments' most frequent problems at WooCommerce: order on standby, no order code, Smart Checkout, installments, refunds.

The following comes from the most frequent support requests for the plugin. For each check help the logs in WooCommerce → Status → Log Files (source obs-viva-woocommerce-payment).

The client was charged, but the order stayed "Waiting for payment" or cancelled#

Reason: the order is only updated when the customer returns to the Success URL. Wrong URL in Payment Source, cache or firewall in /wc-api/, or close the browser prevents it. If the stock time limit is passed, WooCommerce cancels it. Solution: See Return URLs and Order states.

Message "Viva error: no order code received" at checkout#

Reason: Viva refused to create payment, usually due to Merchant ID/API Key error or because the data is demo while Host is Live (or vice versa). Solution: Check that all elements belong to the same environment and that Source Code exists and is active.

We created Smart Checkout credentials, but customers cannot complete their purchases#

Reason: plugin needs Merchant ID and API Key, not Client ID / Client Secret. Solution: Follow it. connection to Viva account.

After payment appears empty page#

Reason: the plugin did not find the order or was unable to confirm the transaction to Viva. Solution: Check that Host and the data are correct and that the server goes online to Viva. Confirm the transaction to Viva and update the order.

Variation of 0.01 € between Viva and the order#

Reason: the amount is sent to Viva in minutes and, in some amounts with decimal percentage coupons, can be rounded down by one minute. Solution: open a request for support with an example of amount.

The description of the method does not appear or the refund does nothing#

See classic checkout and Checkout Blocks and refunds.

Article: Common issues →