Includes: API (Express/TypeScript), Astro site, Python workers, document generators, FCC compliance tools, Canada CRTC formation, Ansible infrastructure, and deployment scripts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.3 KiB
1.3 KiB
Crypto Payment Gateway (frappe_crypto)
SHKeeper-based cryptocurrency payment gateway for ERPNext.
Accepts BTC, ETH, USDC, USDT, MATIC, TRX, BNB, LTC, DOGE, and any coin supported by your SHKeeper instance.
Requirements
Installation
bench get-app https://github.com/performancewest/frappe_crypto.git
bench --site your-site install-app frappe_crypto
Configuration
- Go to Crypto Payment Settings in the sidebar
- Set Gateway Name (e.g. "Crypto")
- Enter your SHKeeper URL (e.g.
https://pay.performancewest.net) - Enter your API Key from SHKeeper
- Optionally set a Default Crypto (e.g. "BTC")
- Click Test Connection to verify
How It Works
- Customer selects crypto payment at checkout
- ERPNext creates a Payment Request and redirects to
/crypto_checkout - The checkout page calls SHKeeper to create a crypto invoice
- Customer sees the wallet address, QR code, and amount in crypto
- Page auto-polls for payment confirmation every 5 seconds
- SHKeeper sends a webhook when payment is received
- Webhook handler creates a Payment Entry and marks the Payment Request as Paid
- Customer sees a success message and is redirected
License
MIT