Knowledge base article

Bitcoin Payment Gateway WHMCS Module Documentation

View other billing articles

Bitcoin (via Coinjar.io) Payment Gateway for WHMCS

This module uses the Coinjar Checkout service to provide your clients with a Bitcoin payment option.

Setup

Extract the moduleYou will need to extract the provided zip file into the root directory of your WHMCS installation. it will extract a coinjar.php into your includes folder, and install identically named files to modules/gateways/ and modules/gateways/callback.ConfigurationOnce this has been done, navigate to the Payment Gateways configuration page in WHMCS administration (typically located at /admin/configgateways.php).You will need to populate a number of settings:
SettingExplanation
Display NameWhat the call the payment option on the invoice display page.
Merchant UUIDGet this from https://checkout.coinjar.com/merchant/credentials
Merchant SecretGet this from https://checkout.coinjar.com/merchant/credentials
API KeyGet this from https://secure.coinjar.com/authentication_token/show.
Use the Coinjar.io SandboxWhether you want to test using Coinjar’s sandbox
OK URLWhere to send users after they’ve made the Bitcoin payment
Cancel URLWhere to send users if they choose to abort the payment process.
TestingOnce configured, you can try paying the invoice using either the sandbox or live environments.If you run into trouble, ensure that /modules/gateways/callback/coinjar.php is accessible by outside servers. Otherwise, please submit a support ticket.

User flow

When viewing an invoice, clients will be presented with an option to ‘Pay with Bitcoins’:paywithbitcoin.pngIf the user chooses to continue, they will be presented with the Coinjar hosted payment page, which will convey to the user the exchange rate, how much Bitcoin is owed for the invoice, and what address to send it to:makingbitcoinpayment.pngOnce CoinJar detects that the payment has been made, it will redirect the user back to the configured OK URL.Once Coinjar has determined that adequate confirmations have been made on the Bitcoin transaction, it will invoke an IPN (Instant Payment Notification) on the module, and the module will add a payment to the invoice.

Published June 29, 2021. Last updated February 24, 2026.

Can't find what you're looking for?

Submit a question

"*" indicates required fields

This field is for validation purposes and should be left unchanged.
Drop files here or
Max. file size: 2 MB, Max. files: 3.