Skip to main content

How to Accept Online Payments in Oman: Thawani, OMR 3-Decimal Rules & Webhooks

How to Accept Online Payments in Oman: Thawani, OMR 3-Decimal Rules & Webhooks

If you sell products, bookings, or services online in Oman, Thawani is the local gateway shoppers know first. Omani buyers recognize Thawani immediately at checkout, expect prices in OMR, and complete payment far more reliably when the flow feels native to local banks.

Because we have already integrated Thawani in production—covering session creation, hosted checkout redirects, return verification, and signed webhooks—this guide focuses on the exact technical and operational details that keep Omani checkouts trouble-free.

The payment stack that converts in Oman

LayerRole in Omani checkoutWhy it matters
ThawaniPrimary local gateway for OMR, OmanNet local cards, and Thawani walletFamiliar local checkout screen trusted across Muscat and wider Oman
Visa / Mastercard & Apple PayCovers expats, regional visitors, and mobile one-tap buyersEliminates manual card typing on iOS traffic
OMR default pricingShows OMR (ر.ع.) cleanly across cart, checkout, and invoicesRemoves FX uncertainty for domestic shoppers
International option (Stripe / PayPal)Optional secondary rail if you ship globallyOnly needed if overseas customers pay outside OMR

Comparing local vs regional providers? See the best payment gateway for Oman businesses.

Step-by-step: launching Thawani payments cleanly

1. Prepare your Omani Commercial Registration and store policies

Before issuing live production keys, gateways review your live site and corporate paperwork. Have ready:

  • Active Omani Commercial Registration (CR) and matching Omani corporate bank account
  • Live website with clear company contact details in Oman
  • Arabic and English Refund, Cancellation, Shipping, and Privacy pages

2. Handle OMR’s 3-decimal precision (1,000 baisa) correctly

This is the single most common engineering bug in Oman, Kuwait, and Bahrain integrations. While USD, EUR, SAR, and AED divide into 100 minor units, 1.000 OMR equals 1,000 baisa:

  • 12.500 OMR must be encoded as 12500 baisa in integer API payloads—never 1250.
  • Always store prices in integer minor units (baisa) or explicit decimal types on the backend, and avoid JavaScript floating-point math before sending amounts to Thawani.

For wider Gulf currency design, read our multi-currency checkout best practices.

3. Wire the Thawani session, redirect, and return flow

In a typical Thawani hosted checkout integration:

  1. Your backend creates a checkout session with line items, integer baisa unit amounts, client_reference_id (your internal order ID), and success_url / cancel_url.
  2. You redirect the customer’s browser (or mobile webview) to Thawani’s hosted pay URL.
  3. On completion or cancellation, Thawani redirects back to your site—where your backend checks the session status before showing a confirmation screen.

For how hosted flows compare to embedded fields, see payment gateway integration types.

4. Verify webhooks before fulfilling any order

Never mark an order “Paid” solely because the shopper loaded /payment/success. On mobile networks, buyers occasionally drop connection during bank OTP verification or refresh the return tab.

Verify the Thawani webhook signature, check that the session status is paid and the paid baisa amount matches your order total, and record idempotency so duplicate webhook deliveries never trigger double fulfillment.

5. Support bilingual invoicing and 5% VAT readiness

Issue clean Arabic and English order receipts/invoices formatted to 3 decimal places (15.000 OMR), and confirm with your accountant whether 5% VAT applies to your turnover and product category.

Mistakes that break Omani checkouts

  1. Multiplying OMR totals by 100 instead of 1,000 when converting to API minor units.
  2. Trusting redirect parameters without verifying the Thawani webhook or querying the session API server-side.
  3. Testing only successful payments and ignoring cancel_url, expired sessions, and partial/full refunds.
  4. Charging local Omani buyers in USD instead of OMR.

How EG Stars delivers Thawani integrations

We have shipped Thawani in production for Omani checkout—including hosted pay, return redirects, baisa precision handling, and verified webhooks. Through our payment gateway integration service and Oman market solutions, we get your store or custom app live quickly without common payment bugs.

Frequently Asked Questions

What is the main local payment gateway for online stores in Oman?

Thawani is the leading local payment gateway in Oman, trusted by Omani shoppers for OMR checkout across local debit cards, Thawani wallet flows, and Apple Pay/card payments.

Why do OMR amounts cause bugs when integrating Oman payment gateways?

The Omani Rial (OMR) uses three decimal places (1 OMR = 1,000 baisa), unlike USD or SAR which use two decimal places (100 cents/halalas). Passing amount * 100 instead of Math.round(amount * 1000) creates 10x pricing errors or failed checkout sessions.

How should an Oman checkout verify Thawani payments safely?

Always verify the transaction status via server-side Thawani webhook events (plus a fallback server API session status check on return), rather than trusting the browser redirect URL alone.

Can Omani businesses accept international cards alongside Thawani?

Yes. Most Omani stores use Thawani for domestic OMR and Visa/Mastercard transactions, and optionally pair a global provider like Stripe or PayPal if selling heavily to overseas audiences.


Need a proven Thawani integration in Oman? Tell us about your platform and we will prepare a clean rollout plan.

Ready to start your project?

Share your goals and we'll help you turn them into a clear plan and a realistic timeline.

Get in touch