| 开发者 |
heno
cuongnguyenba |
|---|---|
| 更新时间 | 2026年6月17日 17:42 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 6.7 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
tingee-webhook), secrets masked.Log in to your Tingee merchant account at app.tingee.vn, navigate to the Developers section, and copy your Client ID and Secret Token.
The Webhook URL is shown in the plugin's settings page (read-only field). Copy it and paste it into your Tingee developer dashboard under the Webhook / IPN configuration section. Tingee will send payment notifications to this URL.
Yes, during local development you need a tool like ngrok to create a public URL that Tingee can reach. On a live server with a real domain name, no extra setup is needed.
Some Tingee accounts have dynamic QR disabled by default. The plugin automatically falls back to Static QR (VietQR standard). In this mode, order matching relies on the transfer reference (order number) in the payment description rather than a bill ID. Contact Tingee support to enable dynamic QR for your account.
If the transferred amount is less than the order total, the plugin keeps the order in On-Hold status and adds an admin note with the received amount. You can review and handle partial payments manually. Over-payments follow the same flow — the order is marked paid and the discrepancy is noted.
Every webhook is verified using HMAC-SHA512 with your Secret Token. Any request with an invalid or missing signature receives a 401 Unauthorized response and the order is never modified. Replay attacks are also prevented: each transaction ID is stored after processing, so resending the same webhook has no effect.
Yes. The plugin registers a Blocks-compatible payment method via AbstractPaymentMethodType, so it appears correctly in both the classic shortcode checkout and the new block-based checkout.
Yes. All order data is read and written using wc_get_order(), $order->get_meta(), and $order->update_meta_data() — fully compatible with HPOS.
No. The Environment setting applies globally. Switch to Production only when you are ready to accept real payments.
No. Settings are preserved when you deactivate. They are only removed when you delete the plugin, and only if the "Delete data on uninstall" option is enabled in settings.