Prerequisites
- WordPress 6.0+
- WooCommerce 8.0+
- PHP 8.2+
- An Pycer instance with a valid API key
- Pycer Gateway Plugin for WooCommerce - download from GitHub Releases
How it works
Installation
Step 1: Install the plugin
Option A: Upload ZIP manually- Download the latest plugin ZIP from GitHub Releases
- Go to WordPress Admin > Plugins > Add New > Upload Plugin
- Upload the ZIP and click Install Now
- Click Activate Plugin
Step 2: Configure the gateway
- Go to WooCommerce > Settings > Payments
- Find Pycer and click Manage
- Fill in:
- Click Save Changes
Step 3: Configure webhooks in Pycer
- Log in to your Pycer Admin panel
- Go to Developer Hub > Webhooks
- Add a new webhook endpoint:
- Select events:
payment.transaction.completed,payment.transaction.failed,payment.transaction.cancelled - Copy the Webhook Secret and paste it into WooCommerce plugin settings
Order status mapping
Customization
Change redirect behavior
Customize payment intent payload
Customize order status on completion
Troubleshooting
Webhooks not received
- Ensure your Pycer instance can reach
https://yourstore.com/?wc-api=pycer_gateway - Check WooCommerce > Status > Logs and filter by
pycer - Verify the Webhook Secret matches in both systems
Orders stuck in “Pending Payment”
This usually means the webhook was not delivered. You can manually sync:- Open the order in WooCommerce Admin
- Click Pycer > Sync Payment Status