- Updated API key and Store ID to production values - Added comprehensive deployment documentation - Fixed invoice creation to use GBP (fiat) currency - Documented successful production deployment status - Added manual deployment instructions - Updated CLAUDE.md with latest integration fixes Production Status: - BTCPay connection working with v2.2.1 - Store "Shop" configured with ID: CvdvHoncGLM7TdMYRAG6Z15YuxQfxeMWRYwi9gvPhh5R - Invoice creation functional (wallets need BTCPay-side configuration) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2.6 KiB
2.6 KiB
BTCPay Server Integration Setup
Current Status
✅ BTCPay Server deployed at: https://thebankofdebbie.giize.com ✅ Admin account created: bankofdebbie ✅ Store created: "Shop" ✅ API Key generated and configured ✅ LittleShop integration working
Required Configuration Steps
1. Get Store ID
- Login to https://pay.silverlabs.uk
- Go to Stores → Settings → General
- Copy the Store ID (usually found in URL or displayed on settings page)
2. Generate API Key
- Go to Account → Manage Account → API Keys
- Click Generate Key
- Label:
LittleShop Integration - Required Permissions:
btcpay.store.canviewstoresbtcpay.store.canmodifyinvoicesbtcpay.store.cancreateinvoice
- Copy the generated API key
3. Configure Webhook
- Go to Stores → Settings → Webhooks
- Click Create Webhook
- Webhook URL:
https://your-littleshop-domain.com/api/btcpay/webhook - Events to enable:
- Invoice payment settled
- Invoice expired
- Invoice invalid
- Copy the webhook secret
4. Configure Bitcoin Wallet
- Go to Stores → Settings → Bitcoin
- Click Set up a wallet
- For development: Choose Use the hot wallet
- Generate new wallet or import existing
- Complete wallet setup
LittleShop Configuration (Production)
Current working configuration:
{
"BTCPayServer": {
"BaseUrl": "https://thebankofdebbie.giize.com",
"ApiKey": "db920209c0101efdbd1c6b6d1c99a48e3ba9d0de",
"StoreId": "CvdvHoncGLM7TdMYRAG6Z15YuxQfxeMWRYwi9gvPhh5R",
"WebhookSecret": "YOUR_WEBHOOK_SECRET_HERE"
}
}
Supported Cryptocurrencies
The LittleShop integration supports:
- BTC (Bitcoin)
- XMR (Monero) - requires additional setup
- USDT (Tether)
- LTC (Litecoin)
- ETH (Ethereum)
- ZEC (Zcash)
- DASH (Dash)
- DOGE (Dogecoin)
Note: Only Bitcoin is enabled by default. Additional cryptocurrencies require:
- Enabling them in BTCPay Server store settings
- Configuring wallets for each currency
Testing the Integration
After configuration:
- Start your LittleShop application
- Create a test order
- Select cryptocurrency payment
- Verify invoice creation in BTCPay Server
- Test payment flow and webhook notifications
Webhook Endpoint
The webhook endpoint is already implemented in LittleShop:
- URL:
/api/btcpay/webhook - Controller:
BTCPayWebhookController.ProcessWebhook - Features:
- HMAC-SHA256 signature validation
- Proper BTCPay Server webhook format handling
- Payment status mapping and processing
- Handles: All BTCPay Server webhook events (invoice created, payment settled, expired, etc.)