| 开发者 | xcash |
|---|---|
| 更新时间 | 2026年8月19日 16:23 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
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.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.
Gateway Configuration
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.xcash-for-woocommerce folder to /wp-content/plugins/.Log in to your Xcash merchant dashboard (https://dash.xca.sh), open your project, and copy the App ID and HMAC key from the project settings.
Ensure App ID and HMAC key are filled, and that your WooCommerce store currency is a fiat currency supported by Xcash. If you restrict methods, confirm the JSON is valid and that the configured payment methods exist in your Xcash project. Check WooCommerce → Status → Logs for xcash-for-woocommerce entries.
The plugin sends the store webhook endpoint as invoice-level notify_url for each new invoice. Keep Xcash project notifications enabled. Payments will trigger a POST request with the same signature scheme as the API. Successful processing returns ok. You can resend failed notifications from the Xcash console.
Yes, the gateway declares compatibility with HPOS/custom order tables and works on both legacy and HPOS-enabled stores.
All strings ship with Simplified Chinese translations (xcash-for-woocommerce-zh_CN.po source and xcash-for-woocommerce-zh_CN.mo runtime file). WordPress will load the locale automatically when the site language is set to Simplified Chinese; English remains the default for other locales.
notify_url automatically.https://pay.xca.sh..mo language pack.