How to accept USDT and USDC on Magento 2
To accept USDT and USDC on Magento 2, copy the free Blokbay extension into app/code, enable the module, paste your keys in the payment method settings and set the webhook. Customers pay in USDT or USDC from their wallet, your share reaches your wallet in the same transaction and Magento creates the invoice when the payment is confirmed. Blokbay withholds 1%, you receive 99%.
What you need
Coins and networks on your payment page
Your customer chooses the coin on the payment page. Today these are available:
- BTC on Bitcoin, from 100 USD: two exact transfers from the customer's wallet, one of them straight to your Bitcoin address
- USDC on Ethereum, Polygon, BNB Chain, Base, Arbitrum, and Solana
- USDT on Ethereum, Polygon, BNB Chain, Arbitrum, and Solana
- ETH on Ethereum, Base, and Arbitrum
- SOL on Solana
Bitcoin appears only if you add a Bitcoin address in Settings. USDC/USDT/SOL on Solana appears only if you add a Solana address in Settings.
Gateway contract: 0xd4b637cC81D5B5115Cd0204A9ba6B60474F05e31 (Ethereum, Polygon, BNB Chain, Base, and Arbitrum)
Requirements
Magento Open Source or Adobe Commerce 2.4.6 or later, access to the command line of the server, a Blokbay account and the public address of a wallet you control. The same 0x address receives USDT and USDC on every network listed on this page.
The order currency must be one of USD, EUR, GBP, CHF, JPY, CAD, AUD, SGD, HKD, and AED. With another currency the method is hidden at checkout and the admin shows a notice. Bitcoin and ETH are available too: this guide focuses on stablecoins.
Install the extension
- Sign in to Blokbay with your email and add your wallet address in Settings.
- In Payments on your site, create the secret key (shown once) and copy the public key and the webhook signing secret.
- Download the Magento 2 extension and unzip it into app/code/, so that the module sits in app/code/Blokbay/Payment.
- Run bin/magento module:enable Blokbay_Payment and bin/magento setup:upgrade. In production mode run bin/magento setup:di:compile and bin/magento cache:flush as well.
- Open Stores > Configuration > Sales > Payment Methods > Blokbay, enable it, paste the three values and save. Magento stores the secret key and the signing secret encrypted.
- In the Blokbay dashboard set the webhook URL https://your-shop/blokbay/webhook/index and send the test event: the store answers pong.
- Place a small real order and pay it with USDC or USDT from your own wallet.
Why stablecoins suit a Magento store
USDT and USDC follow the US dollar, so the amount of the order is the amount that arrives, with no price swing during payment. They are widely held by customers who keep part of their money in crypto.
With USDT and USDC the wallet asks first for an approval of the token, then for the payment. A public smart contract then sends your share to your wallet and 1% to Blokbay in the same transaction. The contract has no owner, cannot be modified and never holds funds. After your customer chooses a stablecoin, the payment stays open for 2 hours.
Orders and invoices in Magento
The order is placed as Pending payment and your customer is sent to the Blokbay payment page, then back to the success page. The signed payment.paid webhook creates an offline invoice and moves the order to Processing.
payment.expired cancels a pending order. A payment that arrives after expiry reopens the order and invoices it, because the money is already in your wallet. If the webhook is late, the success page asks the Blokbay API for the status.
Costs
The extension is free, with no monthly fee and no fixed cost per payment. On a 10,000 USD order you receive 9,900 USD. Your customer pays the network fee of the transfer, a few cents on Polygon or Base and more on Ethereum.
You remain the seller and handle invoices, delivery, refunds and taxes.
Questions and answers
Does it work with Adobe Commerce?
Which network should my customers use?
Is the secret key safe in Magento?
You remain the seller: you are responsible for your website, your products and your obligations towards your customers, including invoices, delivery, refunds, taxes and the checks required in your country.
Start accepting crypto today
1% per payment, no fixed costs, funds go directly to your wallet, no approval needed.
Start freePractical guides
How to accept USDT on WooCommerce
Step by step: accept USDT in your WooCommerce store with a free plugin. The money goes straight to your wallet, 1% per payment, no monthly fee.
How to accept USDC on WooCommerce
Accept USDC in WooCommerce with a free plugin: digital dollars from your customer's wallet straight to yours, 1% per payment, no fixed costs.
How to accept Bitcoin on WooCommerce without a custodial account
Accept Bitcoin in WooCommerce with payments straight to your own Bitcoin address: no custodial account, no payout to wait for, 1% per payment.
How to accept crypto payments on PrestaShop
Accept Bitcoin, USDT, USDC and ETH in PrestaShop with a free module: funds go to your wallet, orders update by signed webhook, 1% per payment.
How to accept crypto payments on Shopware 6
Add Bitcoin, USDT, USDC and ETH to your Shopware 6 checkout with a free plugin: money straight to your wallet, 1% per payment, no fixed costs.