7.5 Viva Wallet integration for car rental software
With the Viva Wallet integration, the car rental software takes payment for a booking by bank card. Once it is connected, the booking card gives the customer a link to the Viva payment page, the paid payment appears in the booking automatically, and a refund goes back to the card right from the cabinet. Viva Wallet is connected in the “Integrations & Agents” section, the “Payment systems” block.
Only the company’s main user can connect and disconnect payment systems. For other employees the connection button is inactive.
What to prepare in the Viva account
Viva issues two sets of keys. To connect, Merchant ID, API Key and the payment source code are required; Client ID and Client Secret are optional:
- Client ID and Client Secret — in the Viva account: Settings → API Access → Smart Checkout Credentials. You may skip them: if both fields are empty, Merchant ID and API Key are enough. If you fill in one, fill in the other too.
- Merchant ID and API Key — in the same place, Settings → API Access. Turn on “Allow refunds” there as well, to refund money to the card from CarRentSoft.
- Payment source code — the 4 digits from Sales → Online payments → Websites/Apps. The page the customer returns to after paying is set in the same source.
Where to connect the Viva Wallet integration
- Open the “Integrations & Agents” section.
- In the “Payment systems” block click the Viva Wallet tile (on the name, not on the toggle).
- In the “Viva Wallet” window fill in the fields “Merchant ID”, “API Key” and “Payment source code”. Fill in “Client ID (Smart Checkout)” and “Client Secret (Smart Checkout)” if you have these keys, or leave both empty.
- Click “Verify and connect”. The cabinet will check the keys with Viva. If everything is correct, the message “Integration connected” appears, and under the tile name — the “Connected” status.
- Copy the “Webhook URL” from the window. In the Viva account open Settings → API Access → Webhooks and create a webhook to this address with the events Transaction Payment Created and Transaction Reversal Created.
The webhook step is required: Viva does not let us create it for you. Without the webhook the payment link works, but the payment will not be recorded in the booking automatically.


Test and live mode
There is no separate mode switch. Keys from the Viva demo account work too: on connection the cabinet itself detects whether they are test or live keys and from then on works with that same Viva environment. To move to live keys, enter the new keys in the same window and click “Verify and connect” again. A webhook to the same address must also be created in the live Viva account.
If the connection failed
The keys are not saved, and the window shows the reason above the fields. For an integration that is not yet connected, the tile status is then “Key error”; if the integration was already connected and only the replacement of the keys failed, it stays “Connected” and works on the previous keys. Common reasons:
- “the Smart Checkout keys (Client ID / Secret) were not accepted” — check the fields “Client ID (Smart Checkout)” and “Client Secret (Smart Checkout)”.
- Only one of the fields “Client ID (Smart Checkout)” and “Client Secret (Smart Checkout)” is filled in — enter the other one or clear both.
- “the ‘Payment source code’ field needs digits — the Viva source code from Sales → Online payments → Websites/Apps” — enter only the digits of the source code in the “Payment source code” field.
- A refusal on “Merchant ID” or “API Key” — compare them with Settings → API Access.
At the bottom of the window there is the “Exchange log”: key checks, payment links, refunds and webhook events, each with its result and error text. The “Setup at the provider” row after connection means that the cabinet has received the webhook verification key from Viva; the webhook itself you create in the Viva account.
What changes after connection
- In the booking card, in the “Payments” section (see Payments in a booking), the “Payment link” button gives a link to the Viva payment page for the remaining debt of the booking. Send it to the customer.
- When the customer pays, the payment appears in the booking automatically — via the Viva webhook.
- The “Refund payment” button on such a payment returns the money to the customer’s card through Viva.
- The payment is recorded only if the currency of the Viva account matches the company’s currency. Otherwise the exchange log will show a refusal with a text about the currency mismatch.
- The toggle on the tile turns Viva Wallet on and off without deleting the keys. The change is saved with the section’s “Save” button. If several payment systems are on, the link is issued by the first one that is on, in tile order: first the “Payment systems” block (JCC, Viva Wallet, MyPos, Stripe, SumUp, LiqPay and so on through the block), then the “E-money” block (starting with PayPal). To avoid guessing, keep just one turned on.
How to disconnect
Open the Viva Wallet window and click “Disconnect”. The keys will be deleted, and payments through Viva will stop. Delete the webhook in the Viva account in the same place where you created it.