Subscriptions
Moyasar’s WooCommerce plugin supports integration with WooCommerce Subscriptions, enabling recurring billing capabilities for your store.
Currently, Credit Card and Apple Pay payments are supported for subscriptions.
Requirements
To use subscriptions with Moyasar, ensure the following:
- WooCommerce Subscriptions plugin is installed and active.
- Moyasar WooCommerce plugin v8.0.0 or higher.
- Your store is configured to use Moyasar as the payment gateway.
Supported Features
- Recurring payments using saved credit card tokens.
- Automatic renewal handling.
- Subscription status updates (e.g., cancellation, expiration).
- Manual renewals and payment retries.
Installation & Setup
-
Install WooCommerce Subscriptions Plugin
Make sure the official WooCommerce Subscriptions plugin is installed and activated.💡 Note: Only the official WooCommerce Subscriptions plugin is officially tested and supported.
-
Enable Moyasar Gateway for Subscriptions
- Navigate to WooCommerce -> Settings -> Payments -> Moyasar.
- Enable Moyasar Credit Card and/or Moyasar Apple Pay.
- Ensure you have configured the API keys in the settings.
- Save changes.
-
Create a Subscription Product
- Go to Products -> Add New.
- Set the product type to Simple Subscription or Variable Subscription.
- Enter the subscription details (billing interval, trial period, etc.).
- Publish the product.
Troubleshooting
If subscriptions are not working as expected:
- Ensure the customer used a supported payment method (Credit Card or Apple Pay).
- Check Moyasar logs in WooCommerce -> Status -> Logs.
- Confirm that the Webhooks are configured properly in the Moyasar Dashboard.