Steps to Configure Moyasar Payment Gateway in WooCommerce

  1. Go to WooCommerce Settings:
    • Log in to your WordPress Admin Dashboard.
    • Navigate to WooCommerce > Settings.
  2. Select the Payments Tab:
    • In the WooCommerce settings page, click on the Payments tab.
    • You’ll see a list of available payment gateways. Look for Moyasar Payment Gateway.
  3. Enable Moyasar Payment Gateway:
    • Next to Moyasar, toggle the switch to enable it (if not already enabled).
    • Click on Manage or Set up to enter the configuration settings.
  4. Enter API Keys:
    • In the Publishable Key field, paste the Publishable Key from your Moyasar account.
    • In the Secret Key field, paste the Secret Key from your Moyasar account.
      • To get these:
        1. Log in to your Moyasar dashboard.
        2. Go to Settings > API Keys.
        3. Copy both keys and paste them into the respective fields in WooCommerce.
  5. Optional Configurations:
    • Payment Method Title: Customize how this method will appear on your checkout page (e.g., “Pay with Moyasar”).
    • Description: Add a short description that explains this payment option (e.g., “Secure payment via credit cards and Mada”).
    • Enable Test Mode: If you’re still testing, check the box for Test Mode to simulate transactions without processing real payments.
  6. Save Changes:
    • Once all fields are filled out, click Save Changes at the bottom of the page.

Test the Integration

Before enabling live payments, it’s a good idea to test if everything is working correctly:

  1. Enable Test Mode:
    • In the Moyasar settings in WooCommerce, ensure Test Mode is enabled.
  2. Place a Test Order:
    • Go to your store as a customer.
    • Add a product to your cart and proceed to checkout.
    • Select the Moyasar payment method.
    • Use test card details provided by Moyasar for the transaction (check their documentation for test card numbers).
  3. Verify Transactions:
    • Check if the order appears in your WooCommerce dashboard under Orders.
    • Log in to your Moyasar dashboard and verify that the transaction is listed under test transactions.

Enable Live Payments

Once you’ve confirmed that test transactions are working:

  1. Go back to Moyasar settings in WooCommerce.
  2. Disable Test Mode by unchecking the box.
  3. Save changes.

Your store is now ready to process live payments!


Tips for Smooth Operation

  1. SSL Certificate:
    • Ensure your website has an active SSL certificate, as secure HTTPS connections are mandatory for processing payments.
  2. Keep Plugins Updated:
    • Regularly update both WooCommerce and the Moyasar plugin to avoid compatibility issues.
  3. Monitor Transactions:
    • Check your WooCommerce orders and Moyasar dashboard regularly to ensure transactions are being processed correctly.

If you still face any issues or need additional help configuring advanced settings, let me know!

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top