Skip to content

Online payments (Stripe, Razorpay, PayPal)

Your booking engine can take the guest's deposit through your own Stripe, Razorpay or PayPal account. The guest presses Pay online, pays on the gateway's own secure page by card, wallet or whatever the gateway offers them, and comes straight back. Zitlin checks the payment with the gateway and the booking arrives in Zitlin already confirmed: there is no payment for you to verify.

The money goes from the guest to your gateway account. Zitlin is never in between, takes no commission on the booking, and never holds or pays out your money. The gateway charges its own fees, on your agreement with them.

You connect it yourself, in the app

Create the keys in your own gateway account, then paste them into Zitlin under Settings → Admin → Direct Bookings → Online payments → Connect a payment gateway. Zitlin checks them with the gateway on the spot and tells you if anything is wrong. Nothing to install, nothing to send anyone, and nothing to set up in the gateway beyond the keys.


Connecting your gateway

  1. Go to Settings → Admin → Direct Bookings. The Online payments block is under the booking switches. Only admins see it.
  2. Press Connect a payment gateway and choose your gateway. The boxes change to match it, with a hint under each saying where to find the value.
  3. Paste the keys (see Getting your keys below) and press Connect. If staff sign-in is on, you are asked for your PIN.
  4. Zitlin tries the keys with the gateway before saving them. If they work, the block shows Deposits are paid online to your gateway and a masked key, and your booking page takes payments online straight away. If not, it says why: a publishable key pasted instead of a secret one, a key the gateway refused, or a currency the gateway does not take.

Your keys are saved encrypted and are never shown again, not even to you: the app only shows enough of the key to tell which one is saved. Every time the gateway is connected, changed or disconnected, your property's admins get an email saying who did it, so a change nobody asked for is noticed the same day.

Never send your keys to anyone

Enter keys only in the Zitlin app. Zitlin support will never ask you to email or message them. If you think a key has leaked, delete it in your gateway account and connect a new one.


Which gateway to use

Use the one you already have. If you have none, this is what works where:

Your property is in Use
India Razorpay
Thailand, Malaysia, Singapore, Hong Kong, Japan, UAE Stripe (or PayPal)
UK, Europe, Switzerland, Norway, US, Canada, Australia, New Zealand, Mexico Stripe or PayPal
Philippines Xendit or PayMongo, on request
Indonesia Xendit or Midtrans, on request
Nepal Khalti or eSewa, on request
Sri Lanka PayHere, on request
Maldives BML Connect, on request
Nigeria, Ghana, South Africa, Kenya Paystack, on request
Bangladesh, Bhutan QR payments

Gateways marked on request appear in the app's list once you ask for them: see Gateways available on request.

The gateway must accept your property's currency, because that is what the deposit is charged in:

Gateway Currencies
Stripe AED, AUD, BDT, CAD, CHF, CZK, DKK, EUR, GBP, HKD, ILS, INR, JPY, KRW, LKR, MVR, MXN, MYR, NOK, NPR, NZD, PHP, PLN, SEK, SGD, THB, USD, VND, ZAR
Razorpay INR. With International payments switched on in Razorpay: also USD, EUR, GBP, AED, SGD, AUD, CAD
PayPal AUD, CAD, CHF, CZK, DKK, EUR, GBP, HKD, HUF, ILS, JPY, MXN, NOK, NZD, PHP, PLN, SEK, SGD, THB, TWD, USD. Not INR.

Getting your keys

Stripe

Use a restricted key. It can only do what Zitlin needs, and you can delete it at any time without affecting anything else on your account.

  1. Open the Stripe Dashboard and go to Developers → API keys.
  2. Press Create restricted key and name it Zitlin.
  3. Set Checkout Sessions to Write. Leave everything else as it is.
  4. Create the key and paste it into Restricted key in Zitlin. It starts with rk_live_.

Not the publishable key (pk_live_…): it cannot take payments, and Zitlin says so if you paste it. If Stripe says the key needs one more permission, the message names it; add it to the key in Stripe and connect again.

Razorpay

Use your live API key pair.

  1. Open the Razorpay Dashboard in Live mode.
  2. Go to Account & Settings → API Keys and press Generate Key.
  3. Paste the Key Id (starts with rzp_live_) and the Key Secret into Zitlin.

Razorpay shows the Key Secret only once. If you have lost it, generating a new pair replaces the old one, so anything else using the old keys stops working.

  • Foreign guests: to let them pay in their own currency, switch on Account & Settings → International payments. Razorpay may ask you for documents. Without it, deposits are taken in INR only.
  • Website approval: Razorpay links your account to the website it approved. If a payment is refused as coming from an unapproved website, add your booking page address in your Razorpay account's website details, or ask Razorpay support.

PayPal

Use the Client ID and Secret of a PayPal live app. This needs a PayPal Business account.

  1. Log in at developer.paypal.com with your PayPal Business account.
  2. Open Apps & Credentials and switch to Live.
  3. Press Create App, choose Merchant, and name it Zitlin.
  4. Paste the Client ID and the Secret into Zitlin. Leave Test mode off.

This is different from the PayPal.Me link on your booking page, which guests pay by hand and you then verify. Once a PayPal app is connected, guests pay through PayPal's checkout instead and the booking confirms itself.

To replace keys later, press Change in the Online payments block and connect the new ones.


What guests see

The last step of the booking shows the stay, the total and the deposit, with one button: Pay amount online. The guest pays on the gateway's page and comes back to Booking confirmed with their reference, and gets a confirmation email.

  • The QR code, the PayPal.Me button and the I have paid button no longer appear. The booking is made only once the gateway confirms the payment.
  • If the price changed while the guest was filling in their details, they are told before they pay, not after.
  • A guest who pays and closes the tab before coming back is still booked, within a few minutes.

What you see

The booking arrives confirmed, not On hold, with the deposit recorded as an advance and the gateway's payment number in its reference. You get an email for each one, as for any booking.

  • Last room sold meanwhile: a guest who has paid is never turned away. The booking is made without a room assigned, tagged Overbooked, and you are emailed so you can arrange a room.
  • Rare problems: if the gateway reports a different amount, or a guest pays twice, you and Zitlin are both emailed. Check the payment in your gateway account, then refund it or keep the booking.

Refunds

Refund from your gateway's dashboard. The money went straight to you, so that is where it goes back from. Cancelling the booking in Zitlin does not refund the guest on its own.

Turning it off

Press Disconnect in the Online payments block. Your booking page goes back to your QR code or PayPal.Me link straight away. Payments guests already made are still booked.


Gateways available on request

Stripe, Razorpay and PayPal connect straight away. The gateways below are available on request: tell support which one you use, and we tell you when it is in the app's list for you to connect, the same way as the others. Never send the keys themselves. Until then, guests pay by QR or bank transfer as before.

Gateway Countries
Xendit Philippines, Indonesia, Thailand, Malaysia, Vietnam, Singapore
PayMongo Philippines
Midtrans Indonesia
Khalti, eSewa Nepal
PayHere Sri Lanka
BML Connect Maldives
Paystack Nigeria, Ghana, South Africa, Kenya

Common questions

Does Zitlin take a commission on online payments?

No. The guest pays your gateway account directly. Only the gateway's own fees apply.

Can guests still pay by QR?

Not while online payments are on: the booking page shows one way to pay, so a booking is never made on the guest's word alone. Press Disconnect and the QR comes back.

How long do guests have to pay?

About 30 minutes on Stripe and Razorpay, and up to 3 hours on PayPal, which keeps its checkout open that long. A booking is never refused because the guest took a while to pay.

Do I need to set up webhooks or anything else in the gateway?

No. Zitlin asks the gateway about each payment itself, so the keys are all it needs.