ZeroTwoDa GitHub avatar

whmcs-hashpay-gateway

ZeroTwoDa

A WHMCS 9 payment gateway module for HashPay cryptocurrency payments with RSA/AES-GCM signed callbacks, automatic invoice marking, idempotency, and local redacted logging.

Stars

3

7-day growth

No data

Forks

1

Open issues

0

License

GPL-3.0

Last updated

2026-07-31

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

Implements a defense-in-depth payment callback flow (RSASSA-PKCS1-v1_5 signing, RSA-OAEP/AES-256-GCM envelope decryption) and includes security regression tests plus GitHub Actions CI, all without Composer dependencies.

Who it is for

  • WHMCS 9 merchants who want to accept cryptocurrency payments via HashPay
  • WHMCS developers integrating or customizing HashPay gateway modules
  • Operators or support staff managing HashPay payment infrastructure
  • PHP developers seeking a secure payment callback implementation reference

Use cases

  • Accepting HashPay cryptocurrency payments in WHMCS 9
  • Automatically marking WHMCS invoices as paid after verified callbacks
  • Safely handling duplicate notifications and repeated transactions
  • Running security regression tests without requiring WHMCS commercial source code

Strengths

  • Validates merchant, timestamp, status, amount, currency, and transaction uniqueness before marking invoices paid
  • Uses RSA-OAEP SHA-256 and AES-256-GCM for callback decryption and authentication
  • Provides idempotent handling for duplicate transactions and notifications
  • Includes security regression tests and GitHub Actions CI on PHP 8.2 and 8.3

Considerations

  • Requires WHMCS 9.x and PHP 8.2/8.3, plus cURL and OpenSSL extensions
  • Third-party module, not an official WHMCS or HashPay component
  • Callback requires a public HTTPS endpoint and the log directory must be writable by the web server

README quick start

安装

Description

WHMCS 9 的 HashPay 加密货币支付网关,支持 RSA 签名、RSA-OAEP/AES-GCM 加密回调、自动入账、幂等校验和本地脱敏日志。

Related repositories

Similar projects matched by category, topics, and programming language.

THARUNRAJ15
THARUNRAJ15 GitHub avatar

Student-Expense-Tracker

A web-based Student Expense Tracker built with HTML, CSS, JavaScript, PHP, and MySQL.

Web DevelopmentUI Components & Styling
27
Wren-CMS
Wren-CMS GitHub avatar

wren-cms

Wren CMS is a minimal, single-file content management system using PHP and SQLite that lets you create a whole website with no dependencies, no build step, and a one-minute setup.

PHP
24
1227cwx
1227cwx GitHub avatar

HDupay

HDupay is an open-source demo platform for accepting stablecoin payments (USDC/USDT) on EVM networks using hierarchical deterministic wallets, built with Webman (PHP) and Vue 3.

PHP
22