Skip to content
All integrations

Accept Crypto Payments with Vendure Payment Plugin

A Cryptonly account and an API key are enough. Add the plugin to your Vendure config, create a payment method in the Dashboard, and your store can take crypto payments. The steps below are the whole setup.

How to start accepting crypto payments on Vendure

  1. Sign up for a Cryptonly account

    Create a merchant account in the Cryptonly dashboard. Each account has its own API keys and webhook signing key. The API key selects the account.

  2. Generate an API key

    Create a key on the account Security settings and pick the Vendure preset. It grants invoices.create, invoices.list, and invoices.cancel. Keep the API key and the webhook signing key for the payment method.

  3. Install the Vendure plugin

    Add CryptonlyPlugin.init({ host }) to the plugins in vendure-config.ts, where host is the public HTTPS address of your Vendure server. The config sample is in the Vendure integration guide.

    npm install @cryptonly/vendure-plugin-cryptonly
  4. Create the payment method

    In the Vendure Dashboard, open Settings, then Payment methods, and add one with the Cryptonly handler. Paste the API key and the webhook signing key, and set the Return URL to a page on your storefront.

  5. Connect the storefront

    When the customer places the order, call addPaymentToOrder with the Cryptonly method and redirect to the paymentPageUrl on the new payment. After payment the customer lands on your return page, and the order is placed once the webhook confirms it.

What is Vendure

Vendure is an open-source headless commerce framework built on Node.js, NestJS, and GraphQL.

Payments in Vendure are payment methods. Each method uses a payment handler and is set up per channel in the Dashboard, so every channel can have its own keys.

Cryptonly adds one of those handlers. Prices stay in your store currency. The customer pays on a Cryptonly page, and a signed webhook settles the payment in Vendure when it confirms.

What crypto can you accept with Vendure and Cryptonly?

View all currencies
FAQ

Vendure plugin questions

  • Which Vendure versions does the plugin support?

    Vendure 3.8 or newer, running on Node.js 22.12 or newer. The plugin uses the standard payment flow, so it works with any storefront that calls addPaymentToOrder.

  • Do I need to build a crypto checkout page?

    No. The customer pays on a Cryptonly hosted page and returns to your store. You only add a redirect and a return page that waits for the payment.

  • What does it cost?

    0.5% per payment, with no setup fee.

  • Can I test the plugin before taking real payments?

    Yes. Turn on sandbox mode on the payment method and use a sandbox API key. The hosted page and the webhook work without moving funds.

  • Does it work with several channels?

    Yes. Create a Cryptonly payment method in each channel that should accept crypto. Each one can use its own Cryptonly account, and webhooks go to the channel that created the invoice.

  • How does Vendure know an order is paid?

    Cryptonly sends a signed webhook to your server. The plugin checks the signature, confirms the invoice with the Cryptonly API, and settles the payment, so the order moves to Payment Settled.

Ready to accept crypto payments?

Tell us about your use case. Use the form or email us.

Contact us