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

Version

1.0.8

Botble Version

>= 7.3.0

License

MIT

๐Ÿช™ 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

  1. Log into Botble Admin Panel
  2. Go to Plugins in the sidebar
  3. 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):

  1. Settings โ†’ Webhook URL โ†’ set it to:
    https://your-botble-site.com/payments/boxcoin/webhook
    
  2. Settings โ†’ Webhook Secret โ†’ set a secret password (same as above)
  3. Accepted Cryptocurrencies โ†’ enable the coins you want to accept
  4. Optionally set your default currency (USD is safest for max compatibility)

๐Ÿ’ณ Payment Flow

  1. Customer selects Boxcoin at checkout
  2. Botble calls POST your-boxcoin-domain.com/boxcoin/api.php with create-transaction
  3. Boxcoin returns a payment URL (e.g. pay.php?id=ENCRYPTED_TX)
  4. Customer is redirected to the Boxcoin payment page to choose a crypto and pay
  5. After payment, Boxcoin:
    • Redirects customer back to your site (/payments/boxcoin/callback)
    • Fires a webhook to your site (/payments/boxcoin/webhook) with status C
  6. 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.