Overview
ZAFA PAY can be integrated as a WooCommerce payment gateway plugin. It uses hosted checkout, so your site never handles card information directly.Download
ZAFA PAY Gateway for WooCommerce v1.0.0
Download plugin (ZIP)
Requirements
- WordPress 5.0+
- WooCommerce 5.0+
- PHP 7.4+
- ZAFA PAY merchant account
Setup Flow
1
Install Plugin
Upload the downloaded ZIP file via Plugins → Add New → Upload Plugin in the WordPress admin and activate it
2
WooCommerce Settings
Go to WooCommerce → Settings → Payments → ZAFA PAY and configure your API token and Webhook secret
3
ZAFA PAY Dashboard Settings
Configure the Webhook URL and redirect URLs
4
Test Payment
Run a test payment in sandbox mode to verify everything works
Plugin Settings
Configure the following in the WooCommerce admin (WooCommerce → Settings → Payments → ZAFA PAY):ZAFA PAY Dashboard Settings
Webhook URL
Register the following URL in the Webhooks tab of the ZAFA PAY dashboard:payment.succeededpayment.failedpayment.canceledpayment.refundedpayment.chargeback
Redirect URLs
Configure the following in the Redirect URL settings of the ZAFA PAY dashboard:Success and failure use the same URL. The plugin automatically determines the result based on the
status parameter appended by ZAFA PAY.Payment Flow
Refunds
Refunds can be processed from the WooCommerce admin:- Go to WooCommerce → Orders and open the target order
- Click the “Refund” button
- Enter the refund amount in the product line item fields
- Click “Refund via ZAFA PAY”