Coldtill Get Coldtill

DashCommerce crypto payment gateway for EmDash

Coldtill for DashCommerce adds crypto payments to shops built on EmDash with DashCommerce. Customers pay with USDT, USDC, Bitcoin, Ethereum, Solana, Tron or 200+ other coins, and the money goes to your own wallets.

@coldtill/dashcommerce on npm · Source on GitHub · MIT licence

Features

Requirements

Set it up

  1. Add the package to your EmDash site:

    npm install @coldtill/dashcommerce
    
  2. In astro.config.mjs, replace dashcommerce() with dashcommerceWithColdtill():

    import { dashcommerceWithColdtill } from "@coldtill/dashcommerce";
    
    emdash({
      plugins: [dashcommerceWithColdtill({ url: "https://pay.example.com" })],
    });
    

    EmDash fixes the hosts a plugin may call when the site is built, so your Coldtill URL goes here.

  3. In Coldtill, create a project API key under API keys.

  4. In Coldtill → Webhooks, set the URL to https://<your shop>/_emdash/api/plugins/dashcommerce/checkout/webhook-coldtill and copy the signing secret.

  5. In EmDash, paste the API key and webhook secret into the DashCommerce plugin settings.

  6. In DashCommerce → Settings, set the payment provider to coldtill, and use the hosted checkout mode.

What happens to an order

Coldtill payment DashCommerce
Filled or overpaid Order created as Processing, paid
Partially paid No order yet; waits for the rest
Cancelled or replaced Stock hold released; no order

Refunds go from your wallet, since the money is already there; mark the order refunded in DashCommerce afterwards. DashCommerce holds stock for 15 minutes, so for slow payments consider a shorter payment expiry in Coldtill.

More integrations