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

New ways to get found, stay in sync, and save time

New ways to get found, stay in sync, and save time

This release is all about making connections easier and cutting down manual work. We added new channels to help you get more visibility, improved sync tools so you can fix things faster when needed, and gave guests more control through the guest portal. On top of...

Small coliving, full calendar, strong community: how Nine Coliving runs with Mangobeds

Small coliving, full calendar, strong community: how Nine Coliving runs with Mangobeds

Nine Coliving is a community-first coliving in La Orotava, Tenerife, built for longer stays and real connections. Mangobeds helps them run bookings the “coliving way”: they can take booking requests, ask guests the right questions to protect the vibe, then confirm and collect the deposit automatically. On top of that, they manage extras like yoga sessions and family dinners in the same flow, keeping operations simple and the community experience smooth.