BTCPay Server for Pano Market
BTCPay Server is the free, self-hosted Bitcoin payment processor: no company in the middle, no fees, no merchant approval. This plugin adds
your own BTCPay Server as a payment method to Pano Market, which must be installed and running: it is a required dependency
of this plugin.
What it supports
- Any currency your BTCPay store has a rate for: the buyer pays on the BTCPay Server hosted checkout page, on-chain or over Lightning.
- Safe confirmation: a notification from your server is only a hint. The plugin checks its signature, then reads the invoice again with
your API key and decides from that answer, so a forged or replayed notification cannot complete an order.
- Payments that need a human are never completed by themselves: partial, late and overpaid invoices, and invoices marked as settled by
hand, wait for review in the Pano panel.
- The order waits visibly while a payment is confirming on the blockchain, and the status is also checked when the buyer returns and by
the periodic status check, so a missed webhook does not strand a sale.
- Refunds from the Pano panel (full or partial): BTCPay Server creates a pull payment, the buyer claims it with a wallet address and
you approve the payout in BTCPay Server.
- An invoice that turns invalid after it was paid is reported to the order as a dispute.
- One-time payments only: bitcoin cannot be charged again by the merchant, so subscriptions are sold as a timed product with a renewal reminder.
Verification level
Unverified: this plugin has not been tested against a live or testnet BTCPay Server yet. It was written from the BTCPay Server Greenfield API
documentation and tested against a simulated server. BTCPay documents no sample for its webhook signature, so the signature tests use
values computed from the documented algorithm.
Setup
- Install Pano Market, then this plugin, and open Market, Payment methods, BTCPay Server in the panel.
- Enter the address of your BTCPay Server (https), the Store ID (Store Settings, General) and an API key limited to that store, with the
permissions to create and view invoices (and to create pull payments for refunds, and to modify webhooks if you want automatic webhook setup).
- Press “Register webhook” to create the webhook in BTCPay Server and save its secret automatically, or copy the webhook URL
shown in the form into Store Settings, Webhooks yourself and paste the secret.
- Press “Test connection”, then enable the method. To try it first, point the server address at a testnet BTCPay Server.