OpenReceive for nopCommerce
Accept Bitcoin & Stablecoin Payments With nopCommerce
Take Bitcoin Lightning in nopCommerce with the OpenReceive plugin: the customer places the order in nopCommerce'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 nopCommerce app.
Why OpenReceive
- nopCommerce keeps the order. Once the wallet reports the payment, the plugin marks the order Paid through nopCommerce's own order processing, so its emails, events and other plugins run as for any payment method.
- No separate payment service. The plugin bundles the OpenReceive .NET engine and keeps payment attempts in two tables of the store's own database. Its codes are stored encrypted with the store's own encryption key.
- Receive-only wallet permissions. Saving a wallet code asks the wallet first and refuses a code that can spend.
- Stablecoins, optional. With a swap provider code, customers can pay in USDT, USDC, ETH or SOL, and you still receive Bitcoin.
Try the checkout your customers will see
nopCommerce 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 nopCommerce 5.00 (.NET 10) or 4.90 (.NET 9).
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
Upload openreceive-nopcommerce-<version>.zip (openreceive-nopcommerce-4.90-<version>.zip on 4.90) in Configuration → Local plugins → Upload plugin or theme, restart, then install and configure Bitcoin Lightning (OpenReceive)
4. Connect the wallet — In Configuration → Payment methods, mark Bitcoin Lightning (OpenReceive) active and click Configure. Paste the NWC code, plus the LSC code if you want swaps, and save. Saving asks the wallet first and refuses a code that can spend.
5. Keep the store running — The plugin's scheduled task runs every five minutes inside the application and records payments whose customer left the pay page, so keep the application running. An idle IIS site that shuts down stops it too.
Full nopCommerce quickstart · Plugin source
How it runs
- Tested on
- nopCommerce 5.00.1 and 4.90.8, their official Docker images, on SQL Server 2022
- Databases
- SQL Server, MySQL, MariaDB or PostgreSQL, nopCommerce's own database (SQL Server tested)
- Secrets
- nopCommerce's settings, encrypted with the installation's own encryption key
- 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 marks the order paid through nopCommerce's own order processing, with the payment hash as its capture transaction. nopCommerce 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?
- nopCommerce 5.00 (.NET 10) or 4.90 (.NET 9) on the database the store already uses, the plugin ZIP for your line from a GitHub release, and the application kept running for its scheduled task. The codes are saved on the plugin's Configure page, encrypted with the store's own key. nopCommerce quickstart
Add OpenReceive to nopCommerce
Copy agent directions · Full quickstart · Plugin source · API reference · Guides