Back to Products
Paytrix-Payment Whmch Gateway

⚑ PaytriX

FamPay UPI Payment Gateway for WHMCS ⚑ Auto-Verified β€’ No Webhooks β€’ Pure PHP


πŸ“Œ Overview

PaytriX is a plug-and-play WHMCS payment gateway addon that allows Indian customers to pay invoices using FamPay UPI with complete automation.

No Node.js server, no third-party payment APIs, and no manual payment confirmation required.

PaytriX verifies payments in real time by securely checking the owner’s Gmail inbox for FamPay payment notification emails through IMAP. Once a payment is detected, the invoice is automatically marked as paid, the transaction is recorded, and the order is processed instantly.


✨ Features

  • ⚑ Auto Payment Verification – Automatically checks Gmail via IMAP and confirms payments when FamPay notifications arrive.
  • πŸ“± UPI QR Code & Deep Link – Provides a clean payment page with QR code scanning and β€œOpen in UPI App” support.
  • ⏱️ Countdown Timer – Configurable payment timer with live MM:SS countdown.
  • βœ… Auto Order Acceptance – Automatically accepts WHMCS orders after successful invoice payment.
  • 🧾 Transaction Logging – Saves complete payment details inside WHMCS Billing β†’ Transactions.
  • πŸ’° Flexible Processing Fees – Supports zero-fee payments or configurable fixed transaction charges.
  • πŸ§ͺ Test Mode – Safely test payments without Gmail verification.
  • πŸ”’ Concurrency Protection – Prevents duplicate payment verification using database locking.
  • πŸ“¦ No External Dependencies – Built with pure PHP and uses only the required IMAP extension.
  • πŸŒ™ Premium Payment UI – Modern dark-themed, mobile-friendly payment experience.

πŸ› οΈ Requirements

Before installing PaytriX, make sure your system meets the following requirements:

  • WHMCS 7.0 or newer

  • PHP 7.4+

  • PHP IMAP extension enabled

  • Gmail account with:

    • 2-Step Verification enabled
    • App Password configured
    • IMAP access enabled
  • Active FamPay account with a valid UPI ID (Example: yourname@fam)


βš™οΈ How It Works

  1. Customer selects PaytriX during checkout.
  2. Customer is redirected to the PaytriX payment page.
  3. A UPI QR code and payment link are displayed.
  4. Customer completes payment using any UPI application.
  5. Customer clicks β€œI’ve Paid β€” Verify Now”.
  6. PaytriX connects securely to Gmail using IMAP.
  7. FamPay payment notification is detected automatically.
  8. Invoice is marked as paid.
  9. Transaction is recorded in WHMCS.
  10. Order is automatically accepted.

πŸ“ Included Files

modules/
└── gateways/
    β”œβ”€β”€ paytrix.php              # Main gateway module
    β”œβ”€β”€ paytrix/
    β”‚   β”œβ”€β”€ pay.php              # Payment interface
    β”‚   β”œβ”€β”€ verify.php           # AJAX payment verification
    β”‚   └── helper.php           # Gmail IMAP functions
    └── callback/
        └── paytrix.php          # WHMCS callback handler

πŸ“– Installation

Follow these steps to install PaytriX:

  1. Enable the IMAP extension in your php.ini file.
extension=imap
  1. Restart your web server.

  2. Create a Gmail App Password:

    • Open Google Account settings.
    • Go to Security.
    • Enable 2-Step Verification.
    • Generate an App Password.
  3. Enable IMAP access in Gmail settings.

  4. Upload PaytriX files to your WHMCS installation while keeping the folder structure unchanged.

  5. Open:

WHMCS Admin β†’ Setup β†’ Payment Gateways β†’ PaytriX UPI
  1. Enter:

    • UPI ID
    • Gmail address
    • Gmail App Password
  2. Save settings.

βœ… PaytriX is now ready and will appear as a payment option for your WHMCS invoices.


⚠️ Disclaimer

PaytriX is an independent open-source WHMCS addon and is not affiliated with, endorsed by, or officially connected to FamPay or Axis Bank.

Use PaytriX at your own discretion. Always test the gateway using Test Mode before accepting real payments.

Paytrix-Payment Whmch Gateway

$5.00

You must be logged in to add products to your cart.

Product Statistics

Released
Jul 20 2026
Purchases
0
Downloads
0
Updated
Jul 20 2026