Skip to content
Business2 min read

What is a payment gateway?

Short answer

A payment gateway is a service that securely takes the customer's payment details, sends them to the bank and card network for approval, then tells your store the result. It lets you accept cards and e-wallets without storing card data yourself.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. The payment flow
  2. Ways to integrate a gateway
  3. Examples in the region
  4. Common problems
  5. On ArabyHost

When a customer clicks “Pay now”, the payment passes through several parties in a few seconds. The gateway is what connects your store to that financial system, and it carries the hardest part of the security.

The payment flow

  1. Entry: the customer types card details into the gateway’s form, where they’re encrypted immediately.
  2. Verification: the bank may ask for a one-time code (3-D Secure).
  3. Authorization: the gateway sends the request through the acquiring bank and the card network, such as Visa, Mastercard, Meeza in Egypt or mada in Saudi Arabia, to the customer’s bank, which approves or declines.
  4. Notification: the gateway tells your store the result via a webhook, and the order becomes “paid”.
  5. Settlement: the money reaches your bank account later, minus fees, on the gateway’s schedule.

Ways to integrate a gateway

Method How it works Your security burden
Hosted page (redirect) Customer goes to the gateway’s page and returns Lowest
Embedded form (iframe) The gateway’s fields inside your page Medium
Direct API Card data passes through your server Highest; requires full PCI DSS compliance

For small and mid-sized stores, a hosted page or embedded form is the practical choice.

Examples in the region

In Egypt, for example, Paymob, Fawry and Kashier; in Saudi Arabia and the Gulf, Moyasar, HyperPay, Tap and PayTabs; plus global options such as PayPal. Availability, fees and supported payment methods vary by country and business type, so check each gateway’s official site. For practical details see payment gateways in Egypt and in Saudi Arabia.

Common problems

  • Payment succeeded, order pending: the notification URL is wrong or blocked.
  • Local cards declined: the gateway or its settings don’t support that card type or currency.
  • Test mode left on: sandbox keys still active after launch.
  • Unencrypted checkout: gateways require HTTPS.

On ArabyHost

A free SSL certificate is issued automatically for every domain, which every payment gateway requires. Install WooCommerce with one click, then add the gateway’s official plugin; Imunify360 protects the site. The gateway account itself is between you and the payment company. If checkout shows an error, see fixing WooCommerce checkout errors or ask the Araby AI assistant to read the error log and explain the cause.

FAQ

Do I need a registered business to get a payment gateway?

Most gateways ask for documents proving your activity, such as a commercial registration or a freelance licence, plus a bank account and a website with clear policies. Requirements vary by gateway and country, so confirm them with the gateway directly.

Redirect to the gateway's page or pay on my site: what's the difference?

With a redirect, the customer enters card details on the gateway's page, which takes most of the security and compliance burden off you. With on-site payment, the gateway's embedded form appears in your page: a smoother experience, but more setup responsibility.

Why did the payment succeed but the order stays unpaid?

Usually the gateway's notification (webhook or callback) never reached your site, because of a wrong URL in the gateway dashboard, a firewall or caching. Check the notification log in the gateway dashboard and your site's error log.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.