All guides
Accept USDT on sites made with AI builders
For landing pages and stores made with Framer, Webflow, v0, Lovable, Bolt and similar tools. Pick the option that fits how your site was built.
Before launch: these guides describe how setup will work. The CrypCash dashboard, the WooCommerce plugin and the payment page are not open yet.
What you need
- Your CrypCash store with a wallet (see Before you start)
- For option 3, a site with its own server code, which builders like v0, Lovable and Bolt write for you
Which option fits your site
Option 1, a payment link: works in any builder, with no code. Best for one product or a few, at fixed prices.
Option 2, a snippet: for builders that let you paste HTML. The payment opens over your page instead of a new tab.
Option 3, a prompt: for builders that write code, when your site has a cart or prices that change. Your site then creates each invoice on its server.
Option 1: a payment link on a button
Any builder, no code.
Create a payment link
Give the link a name and a price in your currency, choose the networks, and save. Every customer who opens the link gets an invoice of their own, converted to USDT at the market rate when it opens.
CrypCash dashboard
- Stores
- Your store
- Payment links
- New link
- Name
- What the customer sees, like your product's name
- Price
- A fixed price in your currency that customers can't change
- Networks
- TRON, BNB Smart Chain or both
- Ask for email
- Optional, if you deliver the order by email
- After payment, go to
- Optional: your thank-you page
Put the link on a button
In your builder, select a button and set its link to the payment link. The customer pays on the CrypCash page, then comes back to your thank-you page if you set one.
Your payment link looks like this https://crypcash.io/l/lnk_…Click or tap the code once to select all of it.
Option 2: a snippet that opens the payment over your page
For builders that accept HTML, like Embed in Framer and Code Embed in Webflow.
Create a payment link
Create it as in option 1. You need its ID, the part of the link that starts with
lnk_.Paste the snippet
Add an HTML embed where the button should be and paste the code. Replace
lnk_…with your link's ID, and the button's words with your own.HTML embed <script src="https://crypcash.io/v1/crypcash.js" defer></script> <button type="button" data-crypcash-link="lnk_…">Pay with Crypto (USDT)</button>The price is kept in the payment link, not in your page, so no one can pay less by editing the page in their browser.
Option 3: a prompt for builders that write code
For v0, Lovable, Bolt and similar tools, when your site has a cart, several prices or customer accounts.
Get your two secrets
The first is your secret key, from Before you start. For the second, add your site's webhook address in CrypCash, for example
https://your-site.com/api/crypcash/webhook, and copy the signing secret it shows.CrypCash dashboard
- Stores
- Your store
- Webhooks
- Add address
Put them in your project's environment variables
In your builder's or host's environment variable settings, add
CRYPCASH_SECRET_KEYandCRYPCASH_WEBHOOK_SECRET. Never paste them into the chat with the builder or into the page itself.Give your builder this prompt
Paste it into the builder's chat as it is. It tells the builder to create invoices on the server, send customers to the CrypCash page, and check every notification's signature before it marks an order paid.
The prompt is in English so the technical names stay exact. The builder can still answer you in your own language.
Prompt Add USDT checkout with CrypCash to this site. Secrets: read the CrypCash secret key from the environment variable CRYPCASH_SECRET_KEY and the webhook signing secret from CRYPCASH_WEBHOOK_SECRET. Use them only in server code. Never send them to the browser, log them or write them into a file. Checkout: when the customer confirms an order, create an invoice from the server. - POST https://api.crypcash.io/api/v1/invoices - Headers: Authorization: Bearer <CRYPCASH_SECRET_KEY>, Content-Type: application/json, Idempotency-Key: <order id> - JSON body: {"amount": "<order total as a string, like 49.99>", "currency": "<the store's currency code, like INR, EUR or USD>", "network": "TRON" or "BSC", "orderId": "<order id>", "successUrl": "<this site's thank-you page URL>"} - Compute the amount on the server from the order. Never take it from the browser. CrypCash converts it to USDT at the market rate. - Then redirect the customer to checkoutUrl from the JSON response. Webhook: add a POST endpoint at /api/crypcash/webhook. - Read the raw request body as text before parsing it. - The CrypCash-Signature header looks like t=<unix seconds>,v1=<hex>. Compute HMAC-SHA256 with CRYPCASH_WEBHOOK_SECRET over "<t>.<raw body>" and compare it with v1 in constant time. Answer 400 if it differs or if t is more than 300 seconds from now. - Parse the JSON. "type" is one of invoice.confirming, invoice.paid, invoice.overpaid, invoice.underpaid, invoice.expired. The order is data.invoice.orderId. - Mark the order paid only on invoice.paid or invoice.overpaid. On invoice.underpaid, flag the order for review. On invoice.expired, release it. - Save each event "id" and ignore an event you have already handled. - Answer 200 within 10 seconds. The thank-you page must not mark anything paid. Only the verified webhook does.Check what it built
Ask the builder to show you where the invoice is created and where the signature is checked. The amount must come from your order on the server, never from the page, and the two secrets must appear only as environment variables.
Test any option with a real payment
Set a price of $1, pay 1 USDT from a second wallet of yours, and check that CrypCash shows the invoice as Paid. The money arrives at your own address, so the test costs you only the network fee.
If something doesn't work
My builder doesn't let me paste HTML.
Use option 1. A link on a button works in every builder.
The builder put my secret key in the page's code.
Revoke the key in CrypCash at once and create a new one. Keep it only as an environment variable, and ask the builder to call CrypCash only from server code.
Orders are marked paid before the payment arrives.
Your site must wait for the invoice.paid notification and check its signature. Coming back to the thank-you page proves nothing, because anyone can open that page.
Can one link sell several products?
A link has one price. Make a link for each product, or use option 3 for a cart.
Shopify, WooCommerce, WordPress, Framer, Webflow, v0, Lovable, Bolt and Trustpilot are trademarks of their owners. CrypCash is not affiliated with them.