Skip to content

WHMCS Bohudur Module

Integrate Bohudur Payments into your WHMCS installation using the official Bohudur Payment API.

This module allows WHMCS clients to pay invoices securely via Bohudur’s hosted checkout system, with automatic payment verification and invoice settlement.

Features

  • WHMCS-native payment gateway
  • Secure API key authentication
  • Hosted payment redirection
  • One-time idempotent payment execution
  • Metadata support (Invoice ID tracking)
  • Optional success & cancel webhooks
  • Server-side payment verification
  • Automatic invoice marking as paid

Requirements

  • WHMCS 7.x or later
  • PHP 7.4+
  • cURL enabled

Installation

1. Download & Upload Gateway Files

Download the Bohudur WHMCS module and upload it to your WHMCS installation.

Download Bohudur WHMCS Module

Upload the zip file where you installed WHMCS directory.

2. Activate the Gateway

  1. Login to WHMCS Admin
  2. Go to System Settings → Payments → Payment Gateways
  3. Activate Bohudur Payments

Configuration

After activation, configure the gateway settings:

FieldDescription
API KeyYour Bohudur API key
Webhook Success URL(Optional) URL called when payment is completed
Webhook Cancel URL(Optional) URL called when payment is cancelled

Important

Never expose your API key in frontend code. Always keep it server-side.

Error Handling

Common Scenarios

CaseBehavior
Invalid payment keyRequest rejected
Payment already executedInvoice not duplicated
Cancelled paymentUser redirected back to invoice
API failureSafe error exit

Troubleshooting

Payment not marked as paid?

  • Ensure callback URL is accessible
  • Verify API key is correct
  • Confirm payment status is EXECUTED

Getting 3108 Payment already executed?

  • This is expected behavior
  • Prevents duplicate payments

Support

For technical support or integration issues, contact in Bohudur Telegram Support.