# How do I connect Thawani to my store in Oman?

**Thawani** lets customers in Oman pay with Omani debit cards, Visa, Mastercard and Apple Pay on Thawani's secure checkout. It works in **Omani rial (OMR) only**: it appears at checkout only when your store (or the visitor's currency) is OMR.

## Steps

1. Log in to your Thawani merchant portal (use the UAT keys for tests) and copy your **Secret key** and **Publishable key**.
2. In Dropify, go to **Apps**, install **Thawani** and open it.
3. Click **Connect Thawani** (or **Add account**), enter an **Account name**, paste both keys and click **Add account**. We check them with Thawani before saving.
4. Recommended: copy the **Webhook URL** from the app page, add it as a webhook in the Thawani portal, then paste its secret in the **Webhook secret** field of your account (**Edit** → **Save changes**). Orders then update even if the customer doesn't come back.
5. In the app's **Settings**, choose **Sandbox Mode** (UAT keys) or **Live Mode** (live keys).
6. In **Store settings → Payment methods**, switch **Thawani** on and optionally set a **Discount for prepaid orders**.
7. Place a test order in OMR and pay on the Thawani page.

## Common problems

- "Thawani rejected these keys in test mode" → UAT keys only work in Sandbox Mode and live keys in Live Mode.
- Thawani isn't shown at checkout → your store currency isn't OMR, the method is off, or the account is inactive.
- "Thawani refunds a payment in full only." → refund the whole amount from the order, or make a partial refund in the Thawani portal.

## Related
- [How do I connect Paymob to my store?](https://help.dropify.shop/en/payments_gateways/paymob/)
