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

Using Verifactu with Mangobeds

Using Verifactu with Mangobeds

If you issue invoices in Spain, VeriFactu is coming for you sooner or later. Mangobeds already supports it, so you can start using it now and be fully ready when it becomes mandatory. This guide walks you through what Veri*Factu is, how it works inside Mangobeds, and...

CoDNX Now Integrates with Mangobeds

CoDNX Now Integrates with Mangobeds

Great news for colivings that run community events and cohorts: CoDNX now plugs into Mangobeds. Bring the visibility and demand from CoDNX into your PMS while keeping availability accurate across rooms and properties—without manual updates. What is CoDNX? CoDNX is a...

Mangobeds App: Get it on iOS and Android

Mangobeds App: Get it on iOS and Android

Good news: you can run Mangobeds from your pocket. Create and manage bookings, check payments, and keep an eye on your properties—without opening a laptop. What you can do on mobile Check bookings fast: today’s arrivals/departures, guest details, notes. Create &...