HTML-button
A cryptocurrency payment button for your website.
The HTML button is a variant of the HTML widget in which only a button is placed on the page. When clicked, a payment window opens on your website, without redirecting to the Trybit payment page. This option is convenient for product and service cards with a fixed price.
How to configure the button
Open "My projects" → the relevant project → "Project settings" → "Payment widget".
In the "Widget type" field, select "Button".
Configure the parameters — changes are immediately visible in the preview window.
Click "Save".

Configurable parameters
Parameter
What is configured
Button template
Design option: cc-paywith — label with currency icons; cc-paywithcurrency — round button with an extended set of currency icons; cc-paywithcc — label with the Trybit logo
Button text
Button label
Button style
Dark, light or colored
Widget size
Standard or large
Payment amount
Invoice amount and currency
Widget language
Payment window language
How to install the button on your website
Copy the ready-made code below the preview window.
Paste the code into the page HTML — where the button should be.
Publish the changes and click the button on the page: the payment window with the specified amount should open.
How payment works for the customer
The customer clicks the button — an invoice for the specified amount is created in the embedded window.
Selects a currency and network and sends a transfer using the payment details.
After network confirmation, the invoice status changes to "Paid".
The payment window shows the project name, invoice number (INV), amount to pay and the invoice expiration timer. The approximate confirmation time is shown next to each network, and the customer can enable an email payment notification. After proceeding to payment, a QR code, the address and the exact transfer amount are shown, and the status can be checked with the transaction check button.
Payment notifications are delivered to the dashboard, by email and to Telegram, and with the "HTML widget (with postback)" method — via POSTBACK.
Last updated
Was this helpful?
