Coinos Lightning Payment Gateway
Wordpress WooCommerce Plugin for Coinos API payment processor.
★ 1stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/mnpezz/coinos-woo-payment/archive/refs/heads/main.zipReadme
Coinos Lightning Payment Gateway for WooCommerce
A WordPress plugin that enables Bitcoin Lightning Network payments for WooCommerce stores using the Coinos API.
Features
- Accept Bitcoin Lightning Network payments via Coinos API
- Real-time payment status checking
- QR code generation for easy mobile payments
- Webhook support for instant payment confirmation
- WooCommerce Blocks support
- Responsive design for mobile and desktop
Installation
- Upload the plugin files to
/wp-content/plugins/coinos-woo-payment/directory - Activate the plugin through the 'Plugins' screen in WordPress
- Go to WooCommerce > Settings > Payments to configure the gateway
Configuration
- Navigate to WooCommerce > Settings > Payments
- Find "Coinos Lightning Payment" and click "Manage"
- Enable the gateway
- Enter your Coinos API key (JWT token)
- Configure the payment type (Lightning Network)
- Set the title and description for checkout
Getting Your Coinos API Key
- Visit coinos.io
- Create an account or log in
- Find your API Key at coinos.io/docs
- Copy the JWT token for use in the plugin settings
API Key Format
The plugin expects a JWT token in the format:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImV4YW1wbGUtaWQiLCJpYXQiOjE2MzQ1NjEwMzB9.example-signature
Usage
Once configured, customers will see the Coinos Lightning payment option at checkout. The payment process includes:
- Customer selects Coinos Lightning payment
- System generates a Lightning invoice
- QR code and invoice text are displayed
- Customer scans QR code or copies invoice to their Lightning wallet
- Payment is automatically confirmed via webhook or polling
Webhook Configuration
The plugin automatically sets up webhooks for payment confirmation. No additional configuration is required.
Requirements
- WordPress 5.0 or higher
- WooCommerce 5.0 or higher
- PHP 7.4 or higher
Support
For support and bug reports, please visit the plugin's GitHub repository.
Related Plugins:
License
GPL v2 or later