Viva Wallet for WooCommerce
Our latest payment plugin for WooCommerce integrates natively with your store enabling you to synchronize sales, refunds, bank transfers and customer data between WooCommerce and Viva Wallet. It features next-day settlement, PCI DSS Level 1 compliance and Strong Customer Authentication (SCA). Supported payment methods:
- American Express
- Diners Club (Greece only currently)
- Viva Wallet account and sandbox
- PHP 5.4+ (you can see this under WooCommerce > Status)
- Wordpress 5.1+
- WooCommerce 2.6+
- An active domain name that points to your e-commerce site
- Domain must have a valid SSL certificate
- cURL support (most hosts have this enabled by default)
Downloading the plugin
Click on the Free Download button on our product page .
A shopping cart is displayed.
Complete the form with your details and click on the Purchase button. Note that as this is a free download you will not be asked for payment.
A confirmation page is displayed.
Click on the Download link to download to your local machine.
Ensure your store meets the plugin requirements above.
Go to Plugins > Add New > Upload Plugin on your Wordpress site and select the ZIP file you just downloaded.
Click Install Now then Activate Plugin.
Find Viva Wallet for WooCommerce in the list and click Settings.
Now proceed to the next section, below, to find out how to configure the plugin.
First you need to make sure your WooCommerce currency is set to the same as your Viva Wallet account currency: WooCommerce > Settings > General > Currency options. There are 5 currencies available. Which one you should choose is dependent on the country in which you registered your Viva Wallet account:
- EUR – Euro (Austria, Belgium, Cyprus, Finland, France, Germany, Greece, Ireland, Italy, Malta, Netherlands, Portugal, Spain)
- GBP – British pound (UK)
- BGN – Bulgarian lev (Bulgaria)
- PLN – Polish złoty (Poland)
- RON - Romanian leu (Romania)
Viva Wallet for WooCommerce credentials
Next, you need to grab your WooCommerce credentials from your Viva Wallet account:
Log in to Viva Wallet, demo or live , and select the required account.
Go to Settings > API access:
Scroll down to WooCommerce Credentials and click on Generate a pair of credentials.
Make a temporary copy of the values in notepad (or similar).
From WooCommerce > Settings > Payments on your Wordpress site, do the following:
Select the Enable Viva Wallet checkbox at the top of the page:
Tick the Enable demo mode checkbox, if you wish to test before going live. Untick to begin accepting payments with Viva Wallet.
Enter your Live Client ID and Live Client Secret (obtained from your Viva Wallet account earlier). The Demo Client ID and Demo Client Secret are different and should only be used when ‘Enable demo mode’ is selected in step 2.
Click on Save changes. A confirmation message will be displayed with the payment source code that the plugin set up automatically within your Viva Wallet account. Once the payment source is activated , you’re ready to start receiving payments from your customers through Viva Wallet.
Selecting the Show advanced settings checkbox on the same page reveals further options:
- If you wish, you can edit the Title and Description seen by the customer during checkout.
- Clicking the Source Code List dropdown displays the current payment source codes available in your Viva Wallet account.
- The Show Viva Wallet logo checkbox can be deselected if you wish to remove any Viva Wallet branding from your checkout.
- The Show credit card logo on checkout page can be deselected if you wish to disable the ability to show the issuer branding after card number validation.
- The Order status after successful payment dropdown enables you to choose Processing if more appropriate than the default Completed option. Which option you should select depends on the type of business you operate. E.g., for instantly available digital downloads, ‘Completed’ is appropriate, but for products where you need to check stock levels after taking payment, ‘Processing’ is more meaningful.
If you need to update the extension you can do this automatically from the WordPress plugins page. However, first you need to make sure you have connected your site to WooCommerce.com. To do that:
Go to WooCommerce > Extensions on your Wordpress site and select the WooCommerce.com Subscriptions tab.
Click on the Connect button.
A confirmation message is displayed.
Click on the Approve button.
Open the Plugins page and click on the Enable auto-updates link next to the Viva Wallet for WooCommerce entry.
Now, with each new release of our plugin, you’ll be prompted to update it. Clicking on the Update now link will do this immediately.
You can also update manually by downloading the latest version from your WooCommerce account .
Once you have the zip file downloaded, you should deactivate and delete the existing version from the Plugins page on your Wordpress site. Then you can install the new version using the Upload Plugin option. You will not lose any settings or data by updating in this way.
Are there card numbers I can use for testing?
Yes, please see card details below, for use in demo mode only. No actual payments can be made within this environment but you can use these cards to make demo payments of 30p or more.
- Card holder’s name: Any
- Card number: 4111 1111 1111 1111
- CVV: 111
- Expiration date: Any in the future
- Card holder’s name: Any
- Card number: 5900000000000000022
- CVV: 111
- Expiration date: Any in the future
After submitting a payment request, you will see a popup which gives you the option of simulating either a successful authentication or a payment failure. This is useful for test purposes.
Is there any difference in the setup process between demo and live?
Yes, when you wish to test on demo, using our sandbox, the payment source is activated immediately. However, on live, this may take up to 2 business days while our team verifies against the following criteria:
- e-commerce website should be available via public domain name (not ‘under construction’; no other access warnings or restrictions)
- e-commerce website displays Viva Wallet logo on payment screens
- terms and conditions exist and refer to a privacy and data security policy
- terms and conditions mention delivery methods and return / cancellation policy
- customer service contact name, email, phone number and postal address easy to find.
Can I test the plugin using a development server?
For test purposes, the best option is to have a staging site, e.g. staging.yourdomain.com. You can replicate your live site and try out the Viva Wallet for WooCommerce plugin without using a public domain name.
Another way is to set up a development environment on a local machine, but in this case you’ll need to use domain masking as localhost won’t work. You’ll need a directive in your hosts file so that you can navigate to www.yourdomain.com but the browser will serve the local site. This way you can test locally, make sure everything works, then apply the changes to your production website.
For both these options you should try the plugin in demo mode, configured with the WooCommerce credentials from your Viva Wallet sandbox account .
Another option for local testing is to use ngrok , an application for exposing a web server running on your local machine to the internet. View ngrok documentation .
Can I refund a customer from Viva Wallet?
Yes, you can do this through the WooCommerce ‘Orders’ page as follows:
- Click on the required order to view the order details page.
- Enter refund amount, full or partial.
- Click Refund via Viva Wallet button:
- The order status is amended accordingly on the ‘Orders’ page:
Where can I get support?
Please email email@example.com .