Viva Wallet

Connecting a Viva Wallet payment terminal allows you to offer a fluid payment flow to your customers and ease the work of your cashiers.

Note

Viva Wallet lets you turn your phone into a mobile card reader: Tap On Phone.

Configuration

Start by creating your Viva Wallet account on Viva Wallet’s website.

Locate your Viva Wallet credentials

When configuring Viva Wallet in Point of Sale, you need to use specific credentials that are available in your Viva Wallet account. These credentials include your Merchant ID, API key, POS API credentials, and Terminal ID number.

Merchant ID and API key

Locate your Merchant ID and API key following the Viva documentation. Then, save the keys and paste them into the Odoo Merchant ID and API Key fields when creating the payment method.

merchant ID and API key fields

Note

These credentials are used for APIs that authenticate with Basic Auth.

POS API credentials

Locate and generate your POS API credentials following the Viva documentation. Then, save the keys and paste them in the Odoo Client secret and Client ID fields when creating the payment method.

Warning

These credentials are only displayed once. Ensure you keep a copy to secure them.

Client secret and client ID fields

Note

These credentials are used for Android and iOS POS Activation requests, as well as the Cloud Terminal API.

Terminal ID

Your terminal ID number is used to identify your terminal. To find it:

  1. Go to your Viva Wallet account and select the relevant account.

  2. Go to Sales ‣ Physical payments ‣ Card terminals in the navigation menu.

The terminal ID number is located under the Terminal ID (TID) column. Save it to paste it into the Terminal ID field when creating the payment method.

Viva terminal ID

Configure the payment method

  1. Activate the POS Viva Wallet module to enable the payment terminal.

  2. Create the related payment method by going to Point of Sale ‣ Configuration ‣ Payment Methods and clicking New.

  3. Set the journal type as Bank.

  4. Select Viva Wallet in the Use a Payment Terminal field.

  5. Fill in the mandatory fields with your:

  6. Save the form and copy the generated webhook URL from the Viva Wallet Webhook Endpoint field. This URL is necessary when configuring the webhook.

payment method creation form

Configure the webhook

Webhooks allow you to receive real-time notifications whenever a transaction occurs within your Viva Wallet account. Set them up for payment transactions following the Viva documentation.

Pay with a payment terminal

When processing a payment, select the related payment method. Check the amount and click on Send. Once the payment is successful, the status changes to Payment Successful.

Note

  • In case of connection issues between Odoo and the payment terminal, force the payment by clicking on Force Done, which allows you to validate the order.
    This option is only available after receiving an error message informing you that the connection failed.
  • To cancel the payment request, click cancel.