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

Automated emails, data export and more

Automated emails, data export and more

Hey there 👋 Check out the latest improvements we have been working on to help you manage your Coliving in the most efficient way! 🖼 Images in emails You can now include images directly in your emails! Make your communications more engaging with visual content. ✉️...

How to Block Unit Availability in Mangobeds

How to Block Unit Availability in Mangobeds

Managing your property’s availability is crucial for ensuring your units are booked according to your schedule. Whether you need to take units offline for maintenance, renovations, or any other reason, Mangobeds makes it easy to block unit availability directly from...

How to Export Your Data in Mangobeds

How to Export Your Data in Mangobeds

Exporting your data from Mangobeds is a simple and efficient way to manage your bookings, guests, payments, and invoices. Each type of data is exported from the place where you manage it, so you always know where to look — bookings from the calendar, guests, payments and invoices from their respective apps.