WooCommerce
Adds TRX and USDT to your checkout and updates the order by itself once the payment confirms.
- WP 6+
- WC 8+
- PHP 7.4+
- HPOS
A product page, a donation form or a service offer does not need WooCommerce. Add a shortcode or a Gutenberg block; when a visitor clicks the button, the HisarPay payment page opens.
Go to Plugins → Add New → Upload Plugin, upload hisarpay-buttons.zip and activate it.
Paste the API key from the dashboard into Settings → HisarPay buttons and save. We recommend starting with a test key.
Insert the “HisarPay payment button” block in the block editor, or type the shortcode anywhere on the page.
[hisarpay_button amount="49.90" description="Logo design" style="card"]Preview the page and click the button. With the test key, simulate the payment on the payment page and check the return to your thank-you page.
The plugin’s global settings. Most of them can be overridden per button.
The block settings match these attributes one to one.
| Attribute | Description |
|---|---|
| amount | Amount in USD, e.g. "49.90". The minimum is 10 USD. |
| description | With amount: shown on the payment page and in the dashboard. With link it only changes the text on the card. |
| style | button (default), card or qr. |
| label | Button text. Default: “Pay with crypto”. |
| token | usdt or trx, with amount only. Leave empty to let the customer choose. |
| link | Use a payment link ID from the dashboard instead of amount. The link’s own coins and thank-you page apply; with open-amount links the customer enters the amount. |
| success_url | A thank-you page just for this button, with amount only. |
Adds TRX and USDT to your checkout and updates the order by itself once the payment confirms.
Payment alerts, balances and invoices with a QR code from a chat. For safety, the bot cannot withdraw.
Node.js, PHP and Python libraries with typings, automatic retries and webhook verification built in.
Sign-up is free; your test keys are ready the moment you confirm your e-mail.