Sign inStart free

How to accept USDT and USDC on Magento 2

For sellers ·

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%.

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

  1. Sign in to Blokbay with your email and add your wallet address in Settings.
  2. In Payments on your site, create the secret key (shown once) and copy the public key and the webhook signing secret.
  3. Download the Magento 2 extension and unzip it into app/code/, so that the module sits in app/code/Blokbay/Payment.
  4. 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.
  5. 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.
  6. In the Blokbay dashboard set the webhook URL https://your-shop/blokbay/webhook/index and send the test event: the store answers pong.
  7. 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?
Yes. The module Blokbay_Payment works on Magento Open Source and on Adobe Commerce, version 2.4.6 or later.
Which network should my customers use?
The one their wallet already holds stablecoins on. Polygon and Base usually have network fees of a few cents; the network is chosen on the payment page and you receive on the same address.
Is the secret key safe in Magento?
Magento saves the secret key and the webhook signing secret encrypted. If a key leaks, create a new one in the dashboard: the old one stops working at once.

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 free

Practical guides