Tly pay
Crypto and stablecoin payments for Medusa: accept USDT, USDC, BTC and ETH, paid straight to your own wallet
TLY Pay for Medusa
TLY Pay is a Medusa payment provider for crypto payments in Medusa 2.23. Your store accepts stablecoin payments in USDT, USDC and DAI, and coins such as BTC, LTC and ETH, on nine networks. Each payment goes straight to your own wallet: TLY Pay is non-custodial and does not hold your funds. Screenshots, requirements and the accepted coins are on the Crypto payments for Medusa page.
Features
- A TLY Pay payment provider with a checkout title, coin icons and an optional line naming the coins.
- The TLY Pay payment window on your storefront, or the hosted TLY Pay payment page.
- Your Medusa order number as the order reference on the payment page and in TLY Pay.
- Orders are marked paid only after TLY Pay confirms the payment through a signed notification or the scheduled check.
- A TLY Pay page in Medusa Admin: connect your account, follow every TLY Pay order with its status, amount and payment ID, and see partial payments, overpayments and payments that need review.
- A cancelled Medusa order cancels its open TLY Pay payment.
What customers and merchants see
Checkout: the customer chooses Crypto payment, shown with the coin icons you select.

Payment window: the customer pays in the TLY Pay window on your storefront, with your order number as the order reference.

Connection and settings: you connect your TLY Pay account by signing in and approving it in Medusa Admin, then choose the checkout mode and appearance.

Orders: Medusa Admin lists every TLY Pay order with its payment status.

Requirements
- Medusa 2.23 () and Node.js 22.22.0 or later.
- A TLY Pay account with a store and a verified wallet.
- A Medusa backend on a public HTTPS address (port 443): TLY Pay sends payment notifications to it and returns to it after you approve the connection.
- A public HTTPS storefront.
- The same currency in the Medusa Region, the provider entry and your TLY Pay store.
Install
In your Medusa application:
Register the plugin, its module and the payment provider in :
Provider options:
- : , where is the provider entry .
- : the HTTPS origin of your storefront; the payment window opens only from this origin.
- : your store currency code, for example .
The provider takes no credentials as options.
Server environment
- (required): a random 32-byte Base64URL value. It encrypts the saved credentials; keep it the same on every server and back it up with your database.
- : the schedule of the TLY Pay check job, for example . Without it, payments are not checked on a schedule.
Generate the key once:
Then create the plugin tables and enable the TLY Pay provider in the Regions that use your store currency:
npx medusa db:migrateConnect your TLY Pay account
- Open Medusa Admin on the public HTTPS address of your backend, then TLY Pay in the sidebar.
- Click Connect TLY Pay, sign in to TLY Pay in the window that opens and approve your store.
- The page shows Connected once your store and wallet are ready. In Settings you choose the checkout mode (hosted payment page or embedded payment window) and the checkout appearance (title, coin icons and an optional line naming the coins).
Storefront
Medusa storefronts are headless. Install the package in your storefront too and use its helper from ; it needs no Medusa server packages.
is one of:
- : the window closed after payment.
- : the window closed without payment; offer "Pay now".
- : the page is leaving for the hosted payment page.
- : the order exists but its payment could not be started yet; offer "Pay now".
Show the method's title as text, then its icons, then its coin names when they are not . An order is paid only when TLY Pay confirms it, not when the customer closes the window.
Notes
- Refunds are not available through TLY Pay.
- Check partial payments, overpayments and payments that need review in Medusa Admin before you fulfil the order.
- This package replaces , the name it was first published under.
Support
Write to support@tlypay.com and include the payment ID shown in Medusa Admin. Plans, security and the TLY Pay app are on tlypay.com.
License
MIT

