Viva.com

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

Note

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

การกำหนดค่า

Start by creating your Viva.com account on Viva.com website.

Locate your Viva.com credentials

When configuring Viva.com in Point of Sale, you need to use specific credentials that are available in your Viva.com 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.

รหัสเทอร์มินัล

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

  1. Go to your Viva.com 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.com 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 Terminal in the Integration field.

  5. Select Viva.com in the Integrate with field.

  6. Fill in the mandatory fields with your:

  7. Save the form and copy the generated webhook URL from the Viva.com 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.com account. Set them up for payment transactions following the Viva.com documentation.