OpenReceive for Shopware

Accept Bitcoin & Stablecoin Payments With Shopware

Take Bitcoin Lightning in Shopware 6 with the OpenReceive plugin: the customer places the order in Shopware's checkout and pays on the order's pay page, straight into your own wallet. Stablecoin payments are optional.

Plugin

Copy agent directions — Paste into Claude Code, Codex or Cursor to add OpenReceive to your Shopware app.

Why OpenReceive

Try the checkout your customers will see

Shopware customers see this same checkout on the order's pay page; here it runs in the openreceive.org demo shop. The live demo needs JavaScript: open the OpenReceive home page.

Five steps, no code

Requires Shopware 6.6.5+ or 6.7 with the Storefront, PHP ≥ 8.2 with GMP and sodium.

1. Get a receive-only NWC code — get one here. It can issue invoices and watch for payment, and it can never spend from your wallet.

2. Get an LSC code for swaps (optional) — from a swap provider, only if customers should be able to pay in USDT, USDC, ETH or SOL.

3. Install the plugin

composer require openreceive/shopware-plugin, then bin/console plugin:refresh and plugin:install --activate OpenReceivePayment

4. Connect the wallet — In the admin, open Extensions > My extensions > Bitcoin Lightning (OpenReceive) > Configure, paste the NWC code, plus the LSC code if you want swaps, under All Sales Channels and save, or save the codes with bin/console openreceive:configure. Saving asks the wallet first, refuses a code that can spend and switches the payment method on. From the admin, add it to each sales channel under Sales Channels > Payment and shipping.

5. Keep the scheduled tasks running — The plugin's openreceive.reconcile task runs every five minutes and records payments whose customer left the pay page, so Shopware's scheduled tasks must run: scheduled-task:run and messenger:consume, or the admin worker.

Full Shopware quickstart · Plugin source

How it runs

Tested on
Shopware 6.7.16.2 and 6.6.10.32 on MariaDB 11.4, in Docker
Databases
MySQL or MariaDB, Shopware's own database
Secrets
The plugin's configuration, sealed with a key derived from the shop's APP_SECRET
Refunds
Refund a settled Lightning payment from your own wallet: the wallet code is receive-only. A customer reclaims a swap deposit that never converted from the order's pay page.
Mobile apps
No app SDK. Payers pay on the store's web checkout, and an app that opens it follows the same app store rules as any web checkout.

Practical questions

Which currencies can customers pay with?
Bitcoin over Lightning, always. With a swap provider configured, also USDT on Tron, Solana or Ethereum, USDC on Solana or Ethereum, ETH and SOL, each converted into the same Lightning payment. Automated swaps guide
Where does the Bitcoin go?
Into the wallet behind the receive-only NWC code. OpenReceive never holds funds: the invoice is minted in your wallet and the sats land there. The plugin moves the order transaction to paid with Shopware's own transition, in the same database transaction that records the payment. Shopware quickstart
What wallet do I need?
Any wallet that issues receive-only NWC (Nostr Wallet Connect) codes, hosted or self-run. The code must be able to create invoices and read their status, and must not be able to spend. Get a receive-only NWC code
What does it cost?
OpenReceive is open source and free. Fees charged by your wallet provider, by a swap provider or by Lightning routing belong to those services and are outside OpenReceive's scope.
What do I need to deploy?
Shopware 6.6.5 or later, or 6.7, with the Storefront, on 64-bit PHP 8.2 or later with GMP and sodium, and Shopware's scheduled tasks running. The codes are saved in the plugin's configuration, encrypted under a key derived from the shop's APP_SECRET. Shopware quickstart

Add OpenReceive to Shopware

Copy agent directions · Full quickstart · Plugin source · API reference · Guides