Viva.com

Viva.com is a payment service that offers payment solutions through the viva.com Terminal app for physical and virtual terminals.

Note

Important

Odoo only supports the Euro currency with viva.com.

Viva.com configuration

To configure a viva.com terminal, go to the Viva.com website, create an account, and then follow these steps:

  1. On the viva.com dashboard, go to Settings ‣ API Access ‣ General.

  2. Copy the Merchant ID and API key.

  3. Copy the Client ID and the generated Client secret (POS API credentials).

  4. Download the viva.com Terminal app on a device, then generate and copy the activation code.

  5. On the viva.com dashboard, go to Sales ‣ Sales Transactions ‣ Physical Payments ‣ Card Terminals.

  6. Create a new card terminal and paste the activation code.

  7. Copy the Terminal ID generated by the terminal activation.

Warning

The POS API credentials are only displayed once. Make sure to keep a copy to secure them.

Note

  • The POS API credentials are for APIs that use Basic Authentication, including those for Android and iOS POS activation and the Cloud Terminal API.

Odoo POS configuration

To connect the viva.com terminal with Odoo Point of Sale, follow these steps:

  1. Go to Point of Sale ‣ Configuration ‣ Settings, scroll down to the Payment Terminals section, enable the Viva Wallet terminal, and click Save.

  2. Go to Point of Sale ‣ Configuration ‣ Payment Methods and create a payment method.

  3. Set the Journal field to Bank.

  4. Set the Integration field to Terminal.

  5. Set the Integrate with field to Viva Wallet.

  6. Paste the copied information from viva.com into the corresponding fields:

    • Merchant ID

    • API Key

    • Client ID

    • Client secret

    • Terminal ID

  7. Save the form and copy the generated webhook URL from the Viva Wallet Webhook Endpoint field.

  8. Go to the viva.com account and paste the webhook URL into the corresponding field.

  9. In Odoo, access the relevant point of sale settings, scroll down to the Payment section, and add the created payment method in the Payment Methods field.

  10. คลิก บันทึก