Manual › Settings
On this page
Online payment
VRS Booking takes card payments and other methods through Stripe or Viva Wallet: the customer pays everything at once, pays a deposit, or pays nothing until pick-up. This chapter covers every field on the "Payments" tab, connecting Stripe and Viva Wallet step by step, test mode, and how payments then show up in the booking.
Where to find it
Open Rentals → Settings → Payments. At the top you choose the provider and the payment rules for the website; below are the Stripe and Viva Wallet keys; further down is the 💳 How to connect block with step-by-step instructions and your website's ready-made addresses to paste into the provider's dashboard.

How online payment works
- The customer books on the website. At the details step they see the "When would you like to pay?" block with the options you allowed: "Pay everything now — …" (with a "you save …" discount, if you set one), "Pay a deposit now — …" with the note "the rest (…) at pick-up", and "Pay at pick-up — …" with the pick-up price (the full price, without the online payment discount). The first option in the list is selected by default.
- The button changes to "Book and pay …". After the click the plugin creates the booking (the vehicle is taken right away), then shows "Taking you to the secure payment page…" and opens the Stripe or Viva Wallet payment page.
- The customer enters their card details on the provider's page — card details never reach your website. The payment page opens in the customer's language if the provider supports it.
- After paying, the customer returns to their booking page, and the plugin itself asks the provider whether the payment went through. At the same time the provider sends a confirmation to the webhook address. Whichever arrives first marks the payment; the second confirmation sees that everything is already recorded.
- The plugin checks the amount against the provider's data, records the payment in the booking, adds an entry to the booking history ("Paid online: … via …") and sends the customer the e-mail "Payment received — booking #…" with the amount still due at pick-up, or the words "The booking is fully paid."
If the customer chose "Pay at pick-up", no payment page opens: the booking is created as usual, and the customer sees "Nothing to pay now — you pay at pick-up."
Important. The booking is created before payment. If the customer closed the payment page or the payment failed, the booking stays with the amount unpaid and the vehicle stays taken. The customer can pay later from their booking page (the "Pay … now" button), you can send them a payment link — or cancel the booking. If the payment page could not be opened, the customer sees: "Your booking is saved, but the payment page could not be opened. You can pay from your booking page or at pick-up."
Fields on the Payments tab
- Online payment
- The online payment provider: "Off — pay at pick-up / by hand" (default), "Stripe" or "Viva Wallet". Online payment is really switched on only when the keys for the chosen provider are entered (for Stripe — the secret key, for Viva — the client ID and client secret). Without keys, the form on the website works as if payment were off. The state is shown in the "How to connect" block: "✅ Online payment is on: Stripe · test mode (sk_test_)" or "Online payment is off. Choose a provider and add its keys above."
- What customers can choose on the website
- Which payment options the customer is shown (you can tick several; all three are ticked by default):
- Pay everything now — the customer pays the full amount (with the discount below).
- Pay a deposit now — the customer pays a deposit, the rest at pick-up. This option is not shown if the deposit works out to zero or to the whole amount or more.
- Pay at pick-up — no online payment. With this option the customer can choose how they will pay at pick-up from the "Payment methods you accept" list (on the invoices tab), unless the "Payment method" field is hidden in the form.
- Pay at pick-up costs more: discount for paying everything online now (%)
- A discount in percent for customers who pay everything online at once. Your normal prices are the pick-up prices (cash or card at the desk), and paying online now is cheaper by this percentage. In the EU a surcharge for paying by card is not allowed, so the difference is always shown as an online discount, not as an extra charge for paying at pick-up. Default:
0(same price). Maximum: 50 %. The hint on screen: 3–10 % works well and lowers no-shows. In the form, the "Pay at pick-up" option shows its price — the full price, without the discount. The discount is shown in the form ("you save …") and recorded in the booking as a discount, with the history entry "Online payment discount −…" — the booking total and the receipt are recalculated. - Cash limit per payment (empty = the law of your country)
- The largest amount that may legally be paid in cash in one payment. Empty (default) — the limit comes from the company's country (Company, brand and general): Greece 500 €, Spain 1 000 €, France 1 000 €, Belgium and Portugal 3 000 €, Italy 5 000 €; other countries have no limit. You can enter your own amount, for example
1000;1 000,1.000and1000 €are read as 1000 too;0— no note. If the customer chooses Cash at pick-up in the booking form and the booking total is above the limit, a note appears under the payment methods: "💶 By law, cash is accepted only up to 500 € per payment — please pay the rest by card." It is only a note: the booking is sent as usual, and you decide at pick-up how much to take in cash. It works both with online payment (the "Pay at pick-up" option) and without it. - Deposit
- How the deposit is calculated: "% of the booking" (default) or "fixed amount".
- Deposit amount
- The percentage or amount of the deposit. Default:
20(that is, 20 % with "% of the booking"). A fixed amount cannot be more than the booking total. If one booking has several vehicles, the deposit is calculated from the total amount. - Offer a tip when paying online (+5 % / +10 % / own amount)
- Off by default. When switched on, the customer's booking page shows the question "Add a tip for the team?" above the payment button, with the options "No tip", "+5 %", "+10 %", "Own amount". When the booking is already paid and the customer has picked up or returned the vehicle, their page shows "Happy with your rental? You can leave a tip for the team." and a "💛 Leave a tip" button. Tips are kept apart from the rental price and invoices: they do not reduce the amount due and do not appear on the receipt. The booking history shows "Tip received: …". The booking form on the website has no tips — only the booking page does. Works only when online payment is on.
Stripe
"Cards, Apple Pay, Google Pay and the local methods you switch on in Stripe."
- Stripe secret key (sk_live_… or sk_test_…)
- The secret key from your Stripe dashboard. A key starting with
sk_test_means test mode,sk_live_means real payments. A restricted key (rk_…) also works. If the key is wrong, a payment attempt adds "The Stripe secret key is not valid. Check Settings → Payments." to the booking history. - Stripe webhook signing secret (whsec_…)
- The webhook signing secret from your Stripe dashboard. The plugin needs it to check that a payment confirmation really came from Stripe. Without it the webhook is not accepted — a payment is then marked only when the customer comes back to the website after paying.
Viva Wallet
"Cards, IRIS, Apple / Google Pay, PayPal, Klarna — Smart Checkout."
- Viva account
- "Demo (test payments)" (default) or "Live". Demo works with a separate free Viva demo account; the keys of the demo and the live account are different.
- Smart Checkout client ID
- The Smart Checkout client ID from your Viva dashboard. Required.
- Smart Checkout client secret
- The Smart Checkout client secret. Required.
- Payment source code (4 digits)
- The code of your website's payment source in Viva. Viva uses it to know where to send the customer back after paying. If left empty, your Viva account's default source is used.
- Merchant ID (for the webhook, optional)
- Your Merchant ID in Viva. Needed only for the webhook.
- API key (for the webhook, optional)
- The API key of your Viva account (not the same as the client secret). Needed only for the webhook: together with the Merchant ID, the plugin gets from Viva the key for verifying the webhook address.
Password fields are not shown after saving: they read "•••••••• saved — leave empty to keep". To replace a key, paste the new one; to keep the old one, leave the field empty.
Connecting Stripe — step by step
Keys come later. You add the real keys in the testing phase. Below is only the order of steps; do not paste keys into e-mails or chats.
- Sign up or log in at
dashboard.stripe.com. For testing, Test mode is enough (the switch in the Stripe dashboard). - In Stripe, open Developers → API keys and copy the Secret key (in test mode it starts with
sk_test_). - In the plugin: Rentals → Settings → Payments → set Online payment to "Stripe", paste the key into Stripe secret key (sk_live_… or sk_test_…) and click Save settings.
- In Stripe, open Developers → Webhooks → Add endpoint. In the address field, paste the address from the "How to connect" block on the tab — it looks like
https://your-site/wp-json/vrs-booking/v1/pay/stripe(click the address in the plugin to copy it). - Choose the event
checkout.session.completed. If you switch on payment methods in Stripe that confirm later (for example bank transfers or Multibanco), also addcheckout.session.async_payment_succeeded— the plugin handles both events. - Save the endpoint, copy its Signing secret (it starts with
whsec_) and paste it into Stripe webhook signing secret (whsec_…). Click Save settings. - Check it: make a test booking on the website and pay with the test card
4242 4242 4242 4242, any future date and any CVC. The payment should appear in the booking. - When everything works, switch Stripe to live mode, create the webhook again for live mode (it has its own Signing secret) and replace both keys in the plugin with the live ones (
sk_live_…and the newwhsec_…).
Local payment methods in Stripe
In Stripe: Settings → Payment methods. Switch on the methods you need: Bizum (Spain), MB WAY / Multibanco (Portugal), BLIK / Przelewy24 (Poland), iDEAL (Netherlands), Satispay (Italy), Klarna and others. They appear on the payment page by themselves — nothing to set up in the plugin. The Stripe payment currency is taken from the Currency code field on the "General" tab.
Connecting Viva Wallet — step by step
- For testing, create a free demo account at
demo.vivapayments.com; a live account atvivapayments.com. - In Viva, open Settings → API Access → Smart Checkout Credentials and copy the client ID and client secret.
- In the plugin: set Online payment to "Viva Wallet" and Viva account to "Demo (test payments)", and paste the client ID and secret into Smart Checkout client ID and Smart Checkout client secret.
- In Viva, open Sales → Online Payments → Websites / Apps → Add website. In the Success URL and Failure URL fields, paste the same address from the "How to connect" block — it looks like
https://your-site/?vrs_booking_pay_return=viva. Save and copy the 4-digit source code. - Paste the code into Payment source code (4 digits) and click Save settings.
- Recommended: a webhook, which confirms the payment even if the customer closed the page without returning to the website. Enter Merchant ID (for the webhook, optional) and API key (for the webhook, optional) in the plugin and save. Then in Viva: Settings → API Access → Webhooks, event Transaction Payment Created, address
https://your-site/wp-json/vrs-booking/v1/pay/viva. When you save, Viva checks the address, and the plugin answers with the key it got using your Merchant ID and API key. - Check it with a test booking on the website and a Viva test card.
- For real payments, switch Viva account to "Live" and replace all keys and the source code with those of the live account (the demo and live accounts are separate, and the website and the webhook have to be added again in the live account).
Local methods (IRIS, Multibanco, BLIK, Przelewy24, iDEAL, PayPal, Klarna…) are switched on in Viva under Settings → Payment methods — and appear on the payment page by themselves. The payment currency is set by your Viva account.

Test mode and live mode
- Stripe: the mode is set by the key.
sk_test_…means test payments, and the "How to connect" block says "test mode (sk_test_)".sk_live_…means real money. - Viva Wallet: the mode is set by the Viva account field. "Demo" means test payments and Viva's demo addresses, and the "How to connect" block says "demo account". "Live" means real payments.
- After testing, cancel the test bookings in the bookings list so they do not hold vehicles or show up in reports.
Warning. Before going live, make sure your website runs on https://: Stripe and Viva send webhooks only to secure addresses.
How payments show up in the booking
The booking card has a 💳 Online payments block (it appears if online payment is on or the booking already has online payments). At the top of the block is a badge "… due" or "fully paid". Below is the list of payment attempts: amount, provider, a "deposit" mark for a deposit, date, transaction number and status:
- paid
- The provider confirmed the payment, the amount was added to the booking's "Paid", and the booking's payment method is card online.
- started, not paid
- The customer opened the payment page, but the payment is not confirmed: the customer is still paying, closed the page, or the payment was declined.
- check amount
- The provider reported a smaller amount than expected. The money is not added to the booking; the booking history says "Online payment needs a check: … received, … expected". Check the payment in the provider's dashboard.
The booking history records every event: "Online payment started: … via …", "Paid online: … via … (transaction number)", "Online payment could not start: …" with the reason.

Payment link for the open amount
If the booking still has an unpaid amount, the "Online payments" block has a Payment link for the open amount field — click it to select and copy the link. Next to it:
- ✉️ E-mail the link (…) — the customer gets the e-mail "Payment for your booking #…" with a "Pay …" button. The booking history records that it was sent.
- 💬 WhatsApp — opens WhatsApp with a ready message and the link (if the customer has a phone number).
The link always opens payment for exactly what is still due. If the booking is already paid, the customer sees "This booking is already paid." The link is not shown for cancelled bookings and no-shows. The same payment button is on the customer's booking page: "🔒 Pay … now" and below it "Or pay at pick-up by card or cash."
If online payment is off, the block says "Online payment is off — Settings → Payments."
Group bookings
If a customer books several vehicles at once, they pay for the whole group in one payment. The plugin splits the amount between the group's bookings in proportion to what each of them still owes.
Refunds
Refunds are made in the Stripe or Viva Wallet dashboard. The plugin does not record a refund by itself: the payment in the booking stays "paid", and the "Paid" amount does not go down. If you refunded the money and cancelled the booking, note it for yourself in the booking notes, and for accounting go by the provider's export.
If the customer cancels a paid booking themselves within the free cancellation period, the plugin tells the staff and the Accounting address: "Refund due: amount — please refund it to the customer.", and promises the customer a refund to the way they paid within 5–10 working days. You make the refund yourself, as described above. Details: Online cancellation by the customer.
Payments in reports
Under Rentals → Reports there is a "💳 Payments" CSV export: date, booking, customer, provider, purpose (rental, deposit, tip), amount, currency, status and transaction number. Unfinished attempts ("started, not paid") are not included. See Reports.
Without online payment
If online payment is off, the customer books without paying and chooses how to pay at pick-up (cash, card at pick-up and so on — the list is set in Rentals → Settings → Invoices / myDATA, see Invoices, myDATA and other tax authorities). You take the money at pick-up (see Check-out, check-in and damage and Invoices and receipts). The cash limit note (the Cash limit per payment field above) is shown here too when the customer chooses "Cash at pick-up".
The customer paid, but the booking shows no payment
Most likely the customer closed the provider's page before returning to the website, and the webhook is not set up or is set up wrongly. Check in the provider's dashboard that the payment went through, and that the webhook points to the address from the "How to connect" block (for Stripe, also that the signing secret is pasted into the plugin). Without a working webhook, a payment is marked only when the customer returns to the website from the payment page. If the customer did not return, check the payment in the provider's dashboard and take it into account at pick-up — the plugin does not pick up such a payment afterwards by itself.
Can I connect Stripe and Viva at the same time?
No. One provider is active — the one chosen in the Online payment field. You can keep the other provider's keys in their fields, but they are not used.
Can staff see card details?
No. Card details are entered only on the Stripe or Viva page and never reach your website. The booking stores the amount, the status and the transaction number.