Install and configure the XPay payment gateway in a WooCommerce store. The current published plugin package is version 1.0.7.
Before you begin
You need:
- A WordPress site with WooCommerce installed.
- WordPress administrator access that allows you to upload and activate plugins.
- The XPay WooCommerce plugin ZIP provided by XPay.
- The XPay account ID and publishable key for the environment you want to use.
Install the plugin
- In WordPress Admin, open Plugins → Add New Plugin.
- Select Upload Plugin.
- Choose the XPay plugin ZIP file.
- Select Install Now.
- When installation finishes, select Activate Plugin.
If an earlier version is already installed, WordPress may update the existing plugin during this process. Activate the plugin after the upload completes.
Open the XPay settings
- In WordPress Admin, open Plugins → Installed Plugins.
- Find WooCommerce XPay Gateway.
- Select Configure.
Configure card payments
Save the settings after completing the form. Keep the mode, SDK URL, account ID, and publishable key from the same XPay environment.
Register the webhook URL in XPay
The XPay settings page in WooCommerce displays a webhook URL for the store. XPay must use this URL to notify WooCommerce about payment results.
- In the WooCommerce XPay settings, copy the displayed webhook URL.
- In the XPay Merchant Portal, open the webhook configuration for the same store.
- Add the WooCommerce webhook URL and save the configuration.
- Confirm that the saved URL exactly matches the value displayed by the WooCommerce plugin.
Use the store-specific URL generated by the plugin. For shared webhook concepts and verification requirements, see Integrate XPay webhooks.
Test the checkout
- Add a product to the WooCommerce cart and proceed to checkout.
- Confirm that the configured XPay payment-method title appears.
- Complete a payment using credentials appropriate for the selected environment.
- Confirm that XPay sends the payment result to the registered WooCommerce webhook URL.
- Verify the payment result in WooCommerce and the XPay Merchant Portal before fulfilling the order.
Next steps
- Return to Platform integrations.
- Review Test your integration before accepting live payments.