# WooCommerce

The merchant dashboard **Resources** section provides the NiriPay WooCommerce gateway plugin.

Before enabling it:

- Set the WooCommerce store currency to INR.
- Configure the merchant API key server-side.
- Configure the webhook URL.
- Add the store server's egress IP to the merchant IP whitelist.
- Download the current plugin build from the dashboard so its configuration matches the deployed NiriPay gateway.

## Configure the integration

1. Download the plugin from the merchant dashboard’s Resources section.
2. In WordPress, open **Plugins → Add New → Upload Plugin** and activate the ZIP.
3. Open **WooCommerce → Settings → Payments → NiriPay**.
4. Configure the merchant credentials and production API base URL.
5. Select the available checkout presentation mode and order-status mapping.
6. Configure the plugin’s callback URL and server IP allowlist.

The plugin includes transaction inspection and payment-status refresh tools. Confirm compatibility with your installed WordPress and WooCommerce versions before launch.

## Verify before accepting orders

Check the store’s INR currency, checkout flow, callback handling, and order fulfillment rules. Keep credentials out of client-side scripts and shared troubleshooting logs.
