Xcash for WooCommerce enables merchants to accept crypto payments through the Xcash payment gateway. Customers complete payments on Xcash’s hosted checkout while WooCommerce stays in sync via secure webhooks. The gateway works with both classic shortcodes and WooCommerce Checkout Blocks, supports fiat-denominated invoices, and offers bilingual (English/Chinese) strings out of the box.
methods filter to limit coin-chain combinations presented to shoppers.out_no and the order’s WooCommerce currency as the pricing currency.pay_url) to finalize the crypto transfer.This plugin connects to Xcash, a cryptocurrency payment gateway, to create hosted crypto checkout invoices and receive payment status notifications. Xcash service information is available at https://xca.sh, developer documentation is available at https://docs.xca.sh, the Xcash Terms of Service are available at https://xca.sh/terms/, and the Xcash Privacy Policy is available at https://xca.sh/privacy/.
The merchant must create an Xcash account at https://dash.xca.sh and enter the project App ID and HMAC key in the WooCommerce gateway settings. The gateway URL defaults to https://pay.xca.sh and can be changed if the merchant runs their own compatible Xcash gateway.
When a shopper places an order with this payment method, or when an administrator uses the “Test Configuration” button, the plugin sends a signed HTTP(S) request to the configured Xcash gateway invoice API (https://pay.xca.sh/v1/invoice by default). The request includes authentication headers (XC-Appid, XC-Nonce, XC-Timestamp, and XC-Signature) and an invoice JSON body containing the WooCommerce order reference (out_no), order title, order total amount, pricing currency, invoice duration, the store return URL, the store webhook notification URL, and optional merchant-configured payment method restrictions.
After the invoice is created, the shopper is redirected to the hosted Xcash payment URL returned by the service. When Xcash detects and confirms payment, Xcash sends a signed webhook request back to the store. The plugin validates the signature and stores invoice/payment identifiers and transaction details from the webhook, such as Xcash invoice ID (sys_no), merchant order reference (out_no), confirmation flag, cryptocurrency, payment amount, pay address, transaction hash, chain, and block number, as WooCommerce order metadata and displays the core fields on the admin order screen.
https://pay.xca.sh) or change it to your own compatible gateway.{"USDT":["ethereum","tron"]}.https://your-site.com/?wc-api=xcash_webhook.notify_url when creating invoices.XC-Appid, XC-Nonce, XC-Timestamp, and XC-Signature headers.wc_get_logger).xcash-for-woocommerce./languages.Xcash_WC_Gateway_Blocks_Support.