Skip to main content

WooCommerce

Moyasar plugin supports three payment methods: Credit Card, Apple Pay, and STC Pay.

Each payment can be enabled and customized individually.

To manage the methods, navigate to:
WooCommerce -> Settings -> Payments

Methos

  1. Add your API Keys
  2. Configure the method
  3. Toggle the Enable option
  4. Click on Save changes

Credit Card

Enable the Credit Card method by setting Enabled to Yes.

Options:

  • Select schemas (Mada, Visa, MasterCard, or Amex)

Apple Pay

Enable the Apple Pay method by setting Enabled to Yes, and ensure that your store's domain is activated.

Options:

  • Select schemas (Mada, Visa, MasterCard, or Amex)
  • Select supported countries for Apple Pay
info

To activate Apple Pay, register your domain in Moyasar's dashboard.
For more details, follow the official guide.


STC Pay

Enable the STC Pay method by setting Enabled to Yes.

warning

STC Pay methods won't work if you are using Testing Environment Keys.


Configuration

Some configurations are shared between methods (e.g., Webhooks).


Webhooks

Moyasar uses webhooks to notify your store whenever a payment changes its state. The notification is an asynchronous request.

To configure the webhook option, follow these steps:

  1. Log in to the Moyasar Dashboard
  2. Go to Settings -> Webhooks
  3. Click on Add Webhook
  4. Provide the Webhook URL & Webhook Secret, and keep the other settings as is
info

You take the Webhook URL & Webhook Secret from any method.

info

Webhooks ensure order continuity in case of payment disruption.