Wayl Checkout is a payment facilitator plugin for WooCommerce that enables merchants to accept online payments through multiple local and international payment methods in one unified solution.
Features:
* Accept payments from customers in Iraq and internationally
* Support for Iraqi Dinar (IQD) and US Dollar (USD)
* Multiple payment methods: Iraqi local and international Visa/MasterCard, ZainCash, FIB (First Iraqi Bank), and FastPay
* Arabic and English language support
* Secure payment processing with real-time notifications
* Easy setup and configuration
About Wayl Checkout:
* Payment Facilitator – Built for the Iraqi market
* All Payment Methods in One – Aggregate Iraqi local and international Visa/MasterCard, ZainCash, FIB, and FastPay in a single checkout solution
* Secure & Reliable – Enterprise-grade security with webhook signature verification
* Easy Integration – Simple setup process, no technical expertise required
* Real-time Updates – Instant payment notifications via webhooks
* Full Refund Support – Process refunds directly from WooCommerce orders
Key Features:
Requirements:
This plugin connects to the Wayl payment API to create payment links and process transactions.
Service: Wayl Payment API
URL: https://api.thewayl.com
Data sent:
– Order ID
– Order total
– Currency
– Line items
– Redirect URL
– Webhook URL
Data is sent:
– When customer places an order
– When verifying payment via webhook
Terms of Service: https://www.wayl.io/terms
Privacy Policy: https://www.wayl.io/privacy
This plugin integrates with Wayl’s payment processing service to enable secure payment transactions.
What is Wayl?
Wayl is a payment processing service that provides secure checkout functionality for e-commerce transactions, with a focus on supporting payments in Iraq (IQD) and other currencies.
What data is sent to Wayl and when?
The following data is transmitted to Wayl’s API (https://api.thewayl.com/api/v1):
During Checkout (when customer clicks to pay):
* Order reference ID (generated by the plugin)
* Order total amount and currency
* Line items (products, shipping, taxes, fees, discounts)
* Customer redirect URL (order confirmation page)
* Webhook URL (for payment status updates)
* Payment page language preference
* Product names and images (if available)
During Webhook Processing (when Wayl sends payment status):
* Webhook signature verification
* Payment status updates
* Order status updates
This data is sent only when a customer initiates a payment during the checkout process. The plugin does not send any data to Wayl until a payment is initiated.
What data is received from Wayl?
When Wayl processes a payment, it sends webhook notifications to your site containing:
Privacy and Service Terms:
User Consent:
By using this payment method, customers consent to having their payment information processed by Wayl according to Wayl’s privacy policy and terms of service. The plugin itself does not store payment card details or sensitive payment information.
Privacy Statement:
This plugin does not track users. No user tracking, analytics, or personal data collection is performed by this plugin beyond what is necessary for payment processing through Wayl’s service.
Need Help?
Common Issues:
Data Privacy:
* This plugin does not store payment card details or sensitive payment information
* Payment data is processed securely through Wayl’s encrypted API
* Customer consent is required for payment processing
* No user tracking or analytics are performed by this plugin
Security Features:
* Webhook signature verification
* Secure HTTPS communication
* Input sanitization and output escaping
* WordPress security best practices
* Regular security updates
Third-Party Services:
* This plugin integrates with Wayl’s payment processing service
* Payment data is transmitted to Wayl’s secure API (https://api.thewayl.com)
* Wayl Privacy Policy: https://www.wayl.io/privacy
* Wayl Terms of Service: https://www.wayl.io/terms
The plugin automatically generates a webhook secret and URL. The webhook URL will be:
https://yourdomain.com/?wc-api=waylchp_webhook
Make sure this URL is accessible and your server can receive POST requests.
When logging is enabled, the plugin creates log files in:
wp-content/uploads/wayl-checkout/
Log files are created daily and include:
– API requests and responses
– Webhook processing
– Payment status updates
– Error messages
Required Settings:
API Key (Required)
Language (Optional)
Currency Mode (Optional)
Logging (Optional)
wp-content/uploads/wayl-checkout/Recommended Settings:
Plugin Structure:
* Main plugin file: wayl-checkout.php
* Payment gateway class: includes/class-waylchp-payment-gateway.php
* API client: includes/class-waylchp-api.php
* Webhook handler: includes/class-waylchp-webhook-handler.php
* Logger: includes/class-waylchp-logger.php
Hooks & Filters:
* waylchp_payment_channels – Filter payment channels before display
* waylchp_checkout_data – Filter checkout data before API call
* waylchp_webhook_data – Filter webhook data before processing
API Endpoints:
* Checkout: https://api.thewayl.com/api/v1/checkout
* Refund: https://api.thewayl.com/api/v1/refunds
* Webhook: https://yourdomain.com/?wc-api=waylchp_webhook
Requirements:
* WordPress 5.0+
* WooCommerce 5.0+
* PHP 7.4+
* SSL certificate (for production)
* cURL extension enabled