
Tabby, Tamara and mada on a Custom Online Store
On Salla or Zid, turning on Tabby, Tamara or mada is a switch in the dashboard. On a custom store, each method comes with its own contract, merchant account, technical flow and order statuses, and mistakes surface as stuck orders or refunds that never reach the customer. This guide is for merchants and brands in Saudi Arabia and the UAE adding Tabby, Tamara, mada and Apple Pay to a custom online store or app: gateway versus direct integration, merchant onboarding, checkout UX, webhooks and refunds, and what to test before you go live. Everything below is drawn from the providers' own developer documentation.
Three Payment Methods, Three Different Animals
The first planning mistake is treating these as one thing. mada is Saudi Arabia's national payment network, owned by the Saudi Central Bank; it routes card transactions from POS terminals, ATMs and online stores, and uses 3D Secure for e-commerce. Apple Pay is a wallet that holds the customer's cards, mada cards included. Tabby and Tamara are buy now, pay later (BNPL) providers: they decide whether the customer is eligible, split the amount for the customer, and pay you under your merchant agreement.
In practice, mada and Apple Pay reach your store through a payment gateway or acquiring bank, while Tabby and Tamara are partners in their own right, with their own merchant account, dashboard and review team. Tabby serves Saudi Arabia and the UAE according to its developer FAQ; Tamara operates in Saudi Arabia, the UAE and Bahrain according to its documentation. Treat each method as its own workstream in the scope and the schedule.
mada and Apple Pay on a Custom Store: What You Actually Need
Before any code, confirm that your gateway supports both mada inside the Kingdom and Apple Pay; these are what Saudi shoppers look for at checkout. The points below come from Checkout.com's mada documentation, and the same themes come up with most gateways.
A merchant ID from a Saudi acquirer
The docs state that processing mada cards inside Saudi Arabia first requires a merchant ID from a Saudi acquirer. Start this early: it is paperwork, and your developers cannot speed it up.
3D Secure and full capture
Inside the Kingdom, 3DS and the CVV are required for every customer-initiated mada transaction. mada does not support partial captures or authorisation-only requests, so the docs recommend capturing in full straight away. If your store authorises at checkout and captures on shipping, mada needs its own flow.
An up-to-date BIN list
mada updates its approved BIN list often, and the docs ask you to keep your systems current. Make it a written maintenance task, not something one developer remembers.
Apple Pay through a listed provider
Apple publishes a list of supported payment platforms by country; when we checked in December 2026 it showed 14 providers for Saudi Arabia and 18 for the UAE. On the web you must verify your domain with a file hosted at a fixed path on your server, as Moyasar's docs explain, and Moyasar's examples add mada to the supported networks, with country code SA, in the Apple Pay settings.
Tabby and Tamara on a Custom Store: Through the Gateway or Direct?
There are two routes. One is a direct integration with the Tabby and Tamara APIs. The other is enabling them as payment methods inside the gateway you already use for mada and cards. Tamara's docs list channel partners including Checkout.com, Amazon Payment Services, PayTabs and CCAvenue, and Checkout.com offers Tabby as a payment method that your account manager enables. Ready-made plugins (WooCommerce, Magento, Shopify and others) are built for those platforms and do not help a store built from scratch.
When the gateway route fits
When you want one technical contract, one checkout and settlement reports in one place, and your gateway supports both providers in your country. Know the trade-offs: with Tamara through Checkout.com, for example, every refund and cancellation goes through Checkout.com rather than Tamara, and support starts at the gateway, according to the partner page.
When direct integration fits
When you want full control over the checkout and how instalment plans appear on product pages, when your gateway does not support one of the providers, or when you want a direct relationship with the BNPL provider for settlement and disputes. The cost is an extra technical workstream per provider and a quality review by each before go-live.
The question that settles it
Ask your gateway in writing: do you support Tabby and Tamara in Saudi Arabia and the UAE, on both web and the mobile app? Who handles partial refunds and disputes? If the answers are vague, direct integration is the clearer long-term path.
Merchant Onboarding: Accounts, Keys and Quality Review
The admin side takes longer than most merchants expect, so open the accounts in your company's name weeks before development starts. Neither Tabby nor Tamara publishes a fixed document list in its developer docs, so ask their sales contacts early.
Tabby
Per the quick start: register a merchant account, get test keys, build the integration and run the full testing checklist, then submit it for a QA review by the Tabby team. After approval, live keys are issued and you coordinate go-live with your account manager. Test-key configuration does not carry over, so webhooks must be registered again with the live key.
Tamara
The merchant receives an API token, a notification token and a public key for widgets, and builds against a sandbox separate from production, per the direct integration guide. Before launch there is a go-live testing checklist covering branding and widgets, checkout in Arabic and English, success, cancel and decline paths, capture and refunds.
Put the review in the schedule
The QA review is not a formality; every comment means another fix-and-retest cycle. Plan at least a week per provider for it, and do not announce a launch date before live keys are in hand.
Checkout UX: What the Customer Sees and What Happens Behind It
A good instalment experience starts before the checkout page. Payment success hits revenue directly; we covered the usual causes of failure in why online payments fail.
Widgets on product and cart pages
Tabby's quick start lists promo snippets and widgets as an integration step, and Tamara includes them in its go-live checklist. Design them into the store from the start rather than bolting them on in the final week.
Eligibility and rejection
Tabby checks eligibility before payment; if the session is rejected there is no checkout link, so show a clear message and another payment method. Tamara's checklist requires the method to appear only for eligible customers and within your configured minimum and maximum order value.
Identity checks
Tamara's checklist covers Nafath verification in Saudi Arabia and Uqudo in the UAE, and warns that Nafath redirects inside a WebView must be tested in production before launch. If you have a mobile app, test this on real devices.
Never trust the return URL alone
When the customer returns from Tabby's page, verify the payment status server-side through the API, never from URL parameters. The customer may close the browser before returning at all, so the order must complete from the webhook even without the redirect.
Order Statuses, Webhooks and Refunds
This is where most post-launch problems live. The rule: map every provider status to a clear status in your order system, and write the mapping down for your operations team to review before the developers sign off.
The Tabby order cycle
AUTHORIZED means create the order and capture; CLOSED means it is already captured; REJECTED or EXPIRED mean the payment failed or was cancelled. Closing without capture cancels the payment and returns the down payment to the customer.
The Tamara order cycle
Tamara sends an approved notification, your store calls authorise, then captures in full or in part after shipping. Without auto-authorisation, an order expires 72 hours after approval, per the go-live checklist, so do not leave authorisation to a person.
Webhooks arrive twice and out of order
Tabby's docs say delivery order is not guaranteed, the same event may arrive twice, closed can arrive before authorized, and Tabby retries up to four more times if you do not answer 200. Tamara signs its notifications with a JWT that your store verifies with the notification token. Make processing idempotent and check the status through the API before any capture.
Refund through the same rail
Tabby only refunds payments in Closed status, and each refund carries a reference ID that prevents duplicates, per the refund reference. Tamara's checklist requires refunds to go through Tamara only. For mada, Checkout.com's docs note that the cards do not support voids, so they become refunds. Tie partial refunds to returns in the warehouse so the numbers match.
Before You Ask for a Quote: Prepare This List
For an accurate estimate, bring: the countries and currencies you sell in, your current gateway and what it confirms in writing that it supports, the status of your Tabby and Tamara accounts, whether you have a mobile app or web only, when you capture (at order or at shipping), and your returns and partial-refund policy. Ask the developer for the status-mapping table and test results for every scenario before launch, not a general promise that payments work. If you are still on Salla or Zid, read when a custom store is the right call first.
Since 2013, N.I.T has built ecommerce stores and shopping apps for clients in Egypt and the Gulf, with payment integrations including mada, Apple Pay and STC Pay. See our ecommerce app development service, then get a quote or contact us for a free 30-minute consultation on the right payment setup for your store.
Frequently Asked Questions
Do I need my own Tabby and Tamara agreements if I go through the gateway?
It depends on the gateway and the commercial model. Ask the gateway and the BNPL provider together about the contract and settlement before you start; the technical docs do not answer this.
How long does the QA review before live keys take?
Neither provider publishes a fixed duration. What shortens it is running the full testing checklist and documenting the results before you submit.
Does BNPL work inside a mobile app?
Yes. Tabby offers mobile SDKs and a WebView option, and Tamara has SDKs for Android, iOS, Flutter and React Native. Test identity checks and the return to the app on real devices.
How do I test without real money?
Tabby provides test credentials with phone numbers and emails for success and rejection scenarios, and Tamara has a sandbox and test cards that include mada. After going live, run one real end-to-end order.
Should I offer Tabby and Tamara side by side?
That is a commercial call tied to your agreements and customers. Technically nothing prevents it, but it doubles the test paths, widgets and status mapping, so count it in scope and maintenance.
Need a Moodle platform or eCommerce app?
We'll send you a detailed proposal within 24 hours