New
License Manager
|
Laravel PHP Licenser & Updates Manager - REST API, webhooks, customer portal
Boxcoin Crypto Payment
Plugin
Decentralized crypto payment gateway integration using Boxcoin.
$10.00
$15.00
๐ช Boxcoin Crypto Payment โ Botble CMS Plugin
Accept Bitcoin, Ethereum, Dogecoin, USDT, and 100+ cryptocurrencies on your Botble CMS store using a self-hosted Boxcoin installation. Completely decentralized โ no KYC, no fees, full control.
๐ Requirements
- Botble CMS v7.3.0+
- Botble Payment plugin active
- Boxcoin PHP (self-hosted โ you own this) โ boxcoin.dev
- A working Boxcoin installation on a publicly accessible URL
๐ Installation
1. Upload the Plugin
Copy the sh-boxcoin folder to your Botble CMS server:
/platform/plugins/sh-boxcoin/
2. Activate the Plugin
- Log into Botble Admin Panel
- Go to Plugins in the sidebar
- Find Boxcoin Crypto Payment โ click Activate
โ๏ธ Configuration
Step 1 โ Botble Admin Panel
Go to Settings โ Payment โ Boxcoin and fill in:
| Field | Description |
|---|---|
| Boxcoin Instance URL | Your Boxcoin admin URL, e.g. https://paywithsh.shakib.me |
| API Key | From Boxcoin Admin โ Settings โ API key |
| Webhook Secret (optional) | From Boxcoin Admin โ Settings โ Webhook โ Secret key |
Click Update and toggle the method Active.
Step 2 โ Boxcoin Admin Panel
In your Boxcoin installation (https://your-domain.com/admin.php):
- Settings โ Webhook URL โ set it to:
https://your-botble-site.com/payments/boxcoin/webhook - Settings โ Webhook Secret โ set a secret password (same as above)
- Accepted Cryptocurrencies โ enable the coins you want to accept
- Optionally set your default currency (USD is safest for max compatibility)
๐ณ Payment Flow
- Customer selects Boxcoin at checkout
- Botble calls
POST your-boxcoin-domain.com/boxcoin/api.phpwithcreate-transaction - Boxcoin returns a payment URL (e.g.
pay.php?id=ENCRYPTED_TX) - Customer is redirected to the Boxcoin payment page to choose a crypto and pay
- After payment, Boxcoin:
- Redirects customer back to your site (
/payments/boxcoin/callback) - Fires a webhook to your site (
/payments/boxcoin/webhook) with statusC
- Redirects customer back to your site (
- Order is marked as Completed automatically
๐ Security Notes
- Always set a Webhook Secret โ prevents fake payment notifications
- Webhook endpoint (
/payments/boxcoin/webhook) is intentionally exempt from CSRF protection - BDT and other non-standard currencies are auto-converted to USD before sending to Boxcoin
๐ Troubleshooting
| Issue | Fix |
|---|---|
| Empty checkout page | Check the Instance URL in settings |
Function name is required |
Verify API Key is correct and the URL points to your Boxcoin admin |
| Order not updated after payment | Set Webhook URL in Boxcoin Admin settings |
| Permission denied on log file | Run chmod -R 775 storage/ on server |
Author: Shakib Hossain ยท shakib.me
Leave a comment
Your email address will not be published. Required fields are marked *
Kindly log in to share your feedback on this plugin.