PayHere Connection Guide with Mangobeds

If you host in Sri Lanka, you can now charge guests through PayHere right inside Mangobeds. Guests pay with local cards (Visa, Mastercard, Amex, Discover), Sri Lankan mobile wallets (eZcash, mCash, Genie, FriMi, iPay) and HelaPay bank transfer through PayHere’s hosted checkout, while you keep clean reconciliation in one place.


Before you start (what you need)

  • An active PayHere merchant account (app.payhere.lk).
  • Your PayHere Merchant ID and Merchant Secret for the mangobeds.com domain.
  • Your Mangobeds property currency set to one PayHere supports: LKR (default), USD, GBP, EUR or AUD. Foreign currencies are settled in LKR at your bank’s rate, plus a 1% conversion fee on top of PayHere’s base rate.

Where to find your credentials in PayHere

  1. Log in to your PayHere merchant dashboard at app.payhere.lk.
  2. Go to Integrations in the left sidebar.
  3. Your Merchant ID is shown at the top of the page next to the page title (e.g. 1235423). It’s the same value across every domain you register, so this is half of your credentials right there.
  4. Click + Add Domain/App.
  5. In the dialog:
    • Domain / APP: select Domain
    • Brand Name: Mangobeds
    • Domain Name: mangobeds.com — this is required, see why below
  6. Click Save and wait for approval (up to 24 hours in production; instant in sandbox).
  7. Once the row shows Active, copy the Merchant Secret from that row. Treat it like a password — don’t share it over email or paste it into chat.

Why mangobeds.com and not your hotel’s website? PayHere ties each Merchant Secret to the domain that hosts the integration code. Mangobeds runs the payment form on mangobeds.com, so that’s the domain PayHere sees when your guest pays. If you register a different domain (e.g. your hotel’s website), PayHere will reject the payment.

Supported countries

PayHere is Sri Lanka’s leading payment gateway and is the only payment provider in Mangobeds available to merchants based in Sri Lanka (LK). Guests paying you can use cards issued worldwide — PayHere accepts international Visa, Mastercard, Amex, Discover and Diners cards — so foreign guests booking your Sri Lankan property can still check out smoothly.

How to set it up in Mangobeds

  1. Go to: Property → Settings → Payment Accounts → Connect Payment Account.
  2. In Create a new payment account, choose PayHere as the provider.
  3. Paste the credentials:
    • PayHere Merchant ID
    • PayHere Merchant Secret
  4. Save to create the payment account, then Connect it to the property.

Heads-up: once a property is linked to a payment account, you can’t swap providers on that property without removing the connection first.

Wrap-up

If you operate in Sri Lanka, connecting PayHere to Mangobeds gives your guests a familiar, Central Bank–approved checkout that supports every major local payment method — and keeps your ops tidy with automatic payment reconciliation. Grab your Merchant ID and Merchant Secret, register mangobeds.com as your integration domain, connect — and you’re live.

You may also like

Split & Extend Bookings in Mangobeds

Split & Extend Bookings in Mangobeds

Long-stay guests switch rooms, add nights, or chop their stay in half all the time. Instead of juggling spreadsheets, do it in one flow inside the booking. How it works Open the bookingHead to Bookings → select the guest → Edit. Add a new unitIn Units Booked, hit +...

Get The Most Value From Your Calendar With Last Minute Rates

Get The Most Value From Your Calendar With Last Minute Rates

Occupancy goes up and down. Last-Minute Rates let you adjust prices for the next X days in seconds. Raise prices when you’re almost full, drop them to fill gaps, all with one quick rule. Heads up! These last-minute rates will only apply to the Mangobeds booking forms,...

Grow Your Bookings Through Marketing with Peach Growth and Mangobeds

Grow Your Bookings Through Marketing with Peach Growth and Mangobeds

Empty beds? Let’s fix that. Peach Growth is the go-to marketing agency for colivings—custom strategy, scroll-stopping content, and ads that actually convert. Thanks to our partnership, Mangobeds users score 10 % off every Peach Growth plan. How does Peach Growth help?...