PUQ Mautic

Installation and configuration guide

WHMCS setup(install/update)

NOWPayments Payment Gateway WHMCS 

 Order now | Download | FAQ

Module is coded in PHP with ionCube protection

Supported php version:

To install and update a module, you must perform one and the same action.

1. Download the latest version of the module.

PHP 8.2+

wget https://download.puqcloud.com/WHMCS/gateways/PUQ_WHMCS_PG-nowpayments/php82/PUQ_WHMCS_PG-nowpayments-latest.zip

PHP 8.1

wget https://download.puqcloud.com/WHMCS/gateways/PUQ_WHMCS_PG-nowpayments/php81/PUQ_WHMCS_PG-nowpayments-latest.zip

PHP 7.4

wget https://download.puqcloud.com/WHMCS/gateways/PUQ_WHMCS_PG-nowpayments/php74/PUQ_WHMCS_PG-nowpayments-latest.zip

 

All versions are available via link: https://download.puqcloud.com/WHMCS/gateways/PUQ_WHMCS_PG-nowpayments/

2. Unzip the archive with the module.
unzip PUQ_WHMCS_PG-nowpayments-latest.zip
3. Copy and Replace "puq_nowpayments" to "WHMCS_WEB_DIR/modules/gateways/"
cp -r puq_nowpayments/ /path/to/your/whmcs/modules/gateways/
4. Copy callback file to "WHMCS_WEB_DIR/modules/gateways/callback/"
cp callback/puq_nowpayments.php /path/to/your/whmcs/modules/gateways/callback/
5. Configure the module in WHMCS Admin Area

Navigate to Setup → Payments → Payment Gateways and find "NOWPayments" in the list.

Click "Activate" and configure the following settings:

6. Configure Webhook in NOWPayments Account

Copy the IPN Callback URL from the module configuration and paste it into your NOWPayments account webhook settings:

7. Test the payment gateway

Test the payment gateway in sandbox mode first to ensure everything is working correctly before switching to production mode.

Don't have a NOWPayments account yet? Create your free account here

NOWPayments Payment Gateway Configuration in WHMCS

NOWPayments Payment Gateway WHMCS 

 Order now | Download | FAQ
Configure Payment Gateway in WHMCS
Setup → Payment Gateways → NOWPayments

In the Gateway settings section, configure the following parameters for the "PUQ NOWPayments" module

image-1758534275052.png

 
Payment Flow Configuration


The module automatically handles the following payment flow:

  1. Customer Selection: Customer selects NOWPayments as payment method during checkout
  2. Currency Selection: Customer chooses from 200+ supported cryptocurrencies
  3. Rate Calculation: Module fetches real-time exchange rates from NOWPayments API
  4. Payment Creation: Creates payment invoice in NOWPayments system
  5. Payment Processing: Customer completes payment using their chosen cryptocurrency
  6. Webhook Notification: NOWPayments sends payment status via secure webhook
  7. Invoice Update: WHMCS automatically marks invoice as paid upon successful payment

Important Notes: