Accept crypto in WooCommerce

Estimated reading: 2 minutes views

Summary: Use one hosted RasterPay link per order and a webhook to mark that order paid — no plugin screens involved.

WooCommerce stores can accept crypto without a payment gateway plugin. You create a hosted RasterPay checkout for each order, send the buyer to that link, and let a webhook mark the order as paid when the payment confirms. The order stays in WooCommerce, your stock and emails keep working, and RasterPay only handles the payment. This article describes the flow in plain language.

Secure hosted checkout page for a crypto payment with order amount and wallet address

The order flow, step by step

  1. The buyer adds items to the cart and reaches your checkout page.
  2. Your site creates a RasterPay checkout for the order total and stores the checkout id on the order.
  3. Instead of card fields, the buyer sees a button that opens the hosted link: https://console.rasterpay.com/checkout/<checkout-id>.
  4. The buyer picks a coin and pays to your wallet address.
  5. RasterPay sends a webhook when the transaction is confirmed, with status C.
  6. Your handler finds the order, checks the amount and the checkout id, and moves the order to Processing or Completed.
  7. The buyer returns to your thank-you page.

What your handler should check

  • The webhook secret key from Settings > Webhook matches the payload.
  • The external reference or checkout id belongs to a real, unpaid order.
  • The paid amount covers the order total.
  • The order is not already marked paid, because duplicate calls are possible.

Answer with HTTP 200 as soon as the payment is stored. Do the slow work, such as sending an email or calling another service, after you reply. RasterPay retries when your endpoint does not answer 200.

Practical notes

Create checkouts with an explicit amount and currency so the hosted page never shows a different total than the cart. Keep the checkout page on your own domain and open the hosted link in a new tab if your theme cannot redirect mid-checkout. Give the buyer a clear message after payment, since the confirmation can take a few minutes on busy networks.

When you want a native plugin

There is no WooCommerce plugin bundled in this workspace today. The hosted link plus webhook pattern works with any store that can create a link and receive an HTTP request. For a plugin that installs inside WooCommerce, contact support to discuss a native plugin.

Share this Doc

Accept crypto in WooCommerce

Or copy link

CONTENTS