Blog

How to accept crypto payments in WooCommerce

CoinStackUpdated 11 min read
Integrations

To accept crypto payments in WooCommerce, install a payment gateway plugin, connect it to an account with that gateway, and enable it under WooCommerce > Settings > Payments. WooCommerce has no crypto payment method of its own. With the CoinStack plugin the setup is 3 steps and one API key, the method appears in both the block checkout and the classic checkout, and each paid order moves to Processing while the money settles as USDC in a wallet you control, for 0.8% per payment.

What do you need before you start?

RequirementMinimumNotes
WordPress6.5The plugin declares itself tested up to WordPress 7.1
WooCommerce8.3Tested up to 11.3. WordPress.org listed 11.3.1 as the current release in early December 2026
PHP7.4
Site addressStarts with https://The certificate must be valid, because payment updates are sent to your store over HTTPS
CoinStack accountInstant sign-upAn email code or Google. A merchant account and a wallet are created for you
API keyRead and write accessCreated in the dashboard under Developers

The plugin is CoinStack for WooCommerce in the WordPress.org plugin directory, so you install it from Plugins > Add New Plugin without leaving WordPress. It declares compatibility with the Cart and Checkout blocks and with High-Performance Order Storage (HPOS).

Your store currency has to be one of the 146 currencies a checkout can be priced in. If it is not, the payment method stays hidden at checkout and nothing else breaks.

How do you install and enable the plugin?

The steps match the WooCommerce page in the CoinStack docs.

  1. Create an API key. Sign in, open Developers in the dashboard, and create a key with Read and write access. The key starts with sk_ and is shown only once, so copy it before you close the dialog.
  2. Install the plugin. In WordPress, go to Plugins > Add New Plugin, search for CoinStack for WooCommerce, select Install Now, then Activate. To install it by hand instead, download the zip and upload it on the same screen with Upload Plugin.
  3. Enable it. Go to WooCommerce > Settings > Payments > CoinStack, tick Enable CoinStack, paste the API key and save.

There is no webhook URL to copy into a dashboard and no signing secret to paste back. The plugin registers its own webhook when you save, and after that it checks every few minutes that CoinStack still knows where to send payment updates for your store.

An account can hold up to 10 API keys. Give each store its own key and name it after the store, so you can delete one without touching the others.

How do you know the store is connected?

A notice at the top of the CoinStack settings page reports the state of the connection.

The notice saysCauseWhat to do
ConnectedThe key works and payment updates have somewhere to goNothing
Not connected yetA key is entered but the settings were not savedSave the settings
The site address must start with https://WordPress is configured with an http:// addressChange it under Settings > General, then save again
The API key was not recognizedThe key was mistyped or deletedCopy it again from Developers, or create a new one
The API key is read onlyThe key has read-only accessCreate a key with Read and write access

On the same page you can change the name and description customers see at checkout. The defaults are "Crypto (CoinStack)" and "Pay with Bitcoin, Ethereum, Solana, USDC, USDT and more." Rewrite the description if you later restrict which tokens you accept, so the checkout does not promise a coin the payment page will not offer.

Does it work with the block checkout and the classic checkout?

Yes, both. This matters more than it sounds. WooCommerce's documentation says that for stores started after version 8.3, released in November 2023, "the Cart and Checkout blocks are the default experience", and warns that "incompatible extensions may cause elements of the checkout to not be available as expected." A gateway built only for the old shortcode checkout can be installed, enabled and missing from the page customers use.

To see which checkout your store runs, open the Checkout page in the editor. A Checkout block means the block checkout. A shortcode block containing [woocommerce_checkout] means the classic one. In both, the customer sees the method's name and description and no extra fields, because the payment itself happens on a hosted page. The details, and what to test, are in crypto payments and the WooCommerce block checkout.

What does the customer see?

  1. At checkout they choose the crypto method and place the order.
  2. The plugin creates a checkout for the order total and sends them to the CoinStack checkout page.
  3. They pick a token and a network from the ones you accept.
  4. The page shows an address, the exact amount and a QR code. They send from any wallet or straight from an exchange. There is no wallet to connect.
  5. The page updates as the payment is detected and completed, and shows a link back to your store's order confirmation page.

The link in step 5 is a link, not a redirect, and plenty of customers close the tab once they have paid. That does not matter. The order is marked paid when CoinStack sends the payment update to your store. As a second line, the plugin looks up the checkout's status when a customer returns from the checkout page, and every few minutes for recent unpaid orders.

Before the customer pays, the page also shows a link back to the store. Following it cancels the unpaid order, and the plugin closes the checkout.

You can try the payment page as a customer on the demo checkout.

Which order statuses does a crypto order go through?

What happenedWooCommerce order statusNote added to the order
Customer placed the orderPending paymentThe checkout ID, amount and currency
A payment was detectedOn holdPayment detected, waiting for confirmation
The payment completedProcessingExtra note if the customer overpaid or paid late
Less than the total arrivedOn holdPartly paid, with the amount received and the amount due
Checkout expired partly paidOn holdTells you to resolve the checkout or refund the customer
Checkout expired with no paymentPending paymentCheckout expired without payment
You marked the checkout as resolvedProcessingMarked resolved in CoinStack

Every payment update is added to the order as a note, so the order screen is the first place to look when a customer asks where their payment is.

WooCommerce's order status documentation describes On hold as "The order is awaiting payment confirmation. Stock is reduced, but you need to confirm payment." With this plugin you do not confirm anything by hand. The order leaves On hold when the payment completes. Processing is the same status a card payment produces: "Payment has been received (paid), and the stock has been reduced. The order is awaiting fulfillment."

The plugin refuses to guess in two situations. If the order total was edited after the checkout was created and the customer then pays the old amount, the order is put on hold with a note asking you to review it. If a payment lands on an order that is already Processing or Completed, the plugin adds a note and does not mark it paid a second time.

Each status and the emails WooCommerce sends for it are covered in WooCommerce order statuses for crypto payments.

What happens with partial, overpaid and late payments?

Customers send payments from their own wallets, so the amount is not always exact. An exchange may deduct its withdrawal fee from what the customer typed.

  • A payment that is slightly short still completes the order. The allowance is set in the CoinStack dashboard under Settings, then Underpayment, and defaults to 0.5% of the total.
  • A larger shortfall puts the order on hold with a note while the customer sends the rest to the same address.
  • If the checkout expires before they do, the part that was paid is already in your wallet. Either select Mark as resolved on the checkout in the dashboard, which marks the order paid, or refund the customer.
  • A payment more than 2% over the total completes the order and is flagged as overpaid. All of it settles to you, and you can refund the difference.
  • A payment that arrives after the checkout expired is still recorded. If it covers the total, the order is marked paid with a note saying it arrived late. That includes an order that was cancelled in the meantime: the plugin moves it to Processing, so check stock before you ship or refund it.

You send refunds from your own wallet, on your own timing. The steps are in refunding a WooCommerce order paid with crypto, and the reasoning behind the allowance is in underpaid crypto payments.

How long does the checkout stay open, and what about stock?

A checkout stays open for 24 hours by default. The plugin shortens that when your store reserves stock. If stock management is on and Hold stock (minutes) is set under WooCommerce > Settings > Products > Inventory, the checkout expires when the hold ends, and never in less than 10 minutes. The payment window and the stock reservation then end together.

WooCommerce's inventory settings say the hold "only applies to orders in the 'Pending payment' status, and not orders that are 'On hold'". Once a payment has been detected, the order is On hold and WooCommerce will not cancel it for being unpaid. When WooCommerce or you cancel an order that has not been paid, the plugin closes its checkout.

Where are the logs, and what data does the plugin send?

Errors are recorded under WooCommerce > Status > Logs, with the source coinstack. If orders are not being marked paid, the docs give 2 things to check: the site address under Settings > General must start with https:// and have a valid certificate, and your firewall or security plugin must allow POST requests from outside to /wc-api/coinstack/. A longer diagnosis is in WooCommerce order stuck on Pending after a crypto payment.

For your privacy policy, the plugin talks to the CoinStack API at https://coinstack.net/api/v1 and sends:

  • when a customer places an order, the order total, currency, order number, the customer's email address, links back to your store, the order ID, the customer ID and your site's domain
  • when you save the settings and every few minutes afterwards, a check that CoinStack knows where to send payment updates
  • when a payment update arrives, when a customer returns from the checkout, and every few minutes for recent unpaid orders, a lookup of the checkout's status

It does not send the cart contents or the shipping address.

What does it cost?

The fee is 0.8% of each payment, taken from the payment before it settles. There is no setup fee and no monthly fee. You choose per network who covers the network cost. By default customers cover it on Bitcoin and TRON and you cover it everywhere else.

Take an $80 order paid with USDC on Base. The fee is 64 cents, and $79.36 of USDC reaches your wallet. The same order on a card at Stripe's published US rate of 2.9% plus 30 cents costs $2.62 before any dispute.

Whatever the customer paid with, every payment settles as USDC on the network you choose, to the address you choose, whether that is your account's wallet, a treasury wallet or an exchange deposit address. From the dashboard, the account owner can withdraw to any supported token and network, or convert the balance to fiat and receive it in a bank account. The dashboard shows the network cost and the amount you will receive before a withdrawal is sent. Accepting Bitcoin is covered in how to accept Bitcoin in WooCommerce.

Frequently asked questions

Is the CoinStack plugin in the WordPress.org plugin directory?

Yes. It is listed as CoinStack for WooCommerce, it is free, and it installs from Plugins > Add New Plugin like any other plugin. It needs WordPress 6.5 or newer, WooCommerce 8.3 or newer and PHP 7.4 or newer, and it works with the block checkout and the classic checkout.

Do customers need to connect a wallet to pay?

No. The checkout page shows an address, the exact amount and a QR code after the customer picks a token and network. They can send from a phone wallet, a hardware wallet or an exchange withdrawal screen. Nothing is installed in the browser and no wallet is connected to your site.

Do paid crypto orders go to Processing or to Completed?

To Processing, the same as with any other payment method. The plugin marks the order paid when the checkout is completed, and WooCommerce applies its normal rules from there. While a payment is confirming, the order sits On hold with a note, and it leaves that status without any action from you.

Can I limit which tokens and networks customers can pay with?

Yes, in the CoinStack dashboard, not in WordPress. Under Settings, change Payment methods to choose the tokens and networks your checkout offers. Any order worth 1 US dollar or more can be paid on most networks.

How do I test the plugin before launch?

Create a low-priced product, place an order as a customer, and pay it with a stablecoin on a low-cost network such as USDC on Base. The smallest checkout is worth 1 US dollar. Watch the order go from Pending payment to On hold to Processing and read the order notes. The money arrives in your own wallet, so the test costs you the 0.8% fee. How to test a crypto checkout before launch lists the other cases worth running.

More posts