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

Understanding iCal vs. OTAs and Channel Managers in Mangobeds

Understanding iCal vs. OTAs and Channel Managers in Mangobeds

When you’re new to the world of online bookings, it can be confusing to sort through terms like OTAs, iCal, and channel managers. This guide will walk you through these concepts, compare the pros and cons, and show you how to use them in Mangobeds so you can decide...

Increase Your Bookings with the Airbnb App

Increase Your Bookings with the Airbnb App

Want more bookings and better revenue when you’re just starting out or down the road? Sync your Airbnb listing with Mangobeds to manage all your channels in one place—no more juggling multiple apps. You’ll handle pricing, availability, and booking info all from...

Reduce the impact of cancellations with CoWaiting and Mangobeds

Reduce the impact of cancellations with CoWaiting and Mangobeds

Cancellations happen all the time in Hospitality. Popular spots fill up fast, and then suddenly a guest cancels at the last minute. Too often, potential guests never find out, missing those open spots. To reduce the impact of cancellations, CoWaiting steps in to...