BILLmanager 6

NOWPayments

NOWPayments is a cryptocurrency payment processing platform. To use the NOWPayments payment module, you need to install the module in BILLmanager.

NOWPayments can take up to seven days to process payments. If the transaction is not completed within this time, the payment is canceled.
Payment methods support
Bank cardsCashE-walletsMobile paymentsOnline banking
Supported features

Payments return

Recurring payments

Subscriptions

Module installation

  1. If you are using a BILLmanager version lower than 6.110.0, update the platform.
  2. Connect to the server with the platform via SSH. For more information about connecting via SSH, see Workstation setup.
  3. Install the required dependencies

    Ubuntu
    apt install -y make billmanager-corporate-dev billmanager-plugin-python-libs python3-venv
    AlmaLinux
    dnf install -y make billmanager-corporate-devel billmanager-plugin-python-libs
  4. Copy the BILLmanager repository: 
    git clone https://github.com/ISPsystemLLC/billmanager
  5. Go to the module directory: 
    cd billmanager/paymethod/NOWPayments
  6. Run the installation: 
    make install

    After the module is installed, the platform will restart and the payment method will be available for configuration.

Configuration on the BILLmanager side

To create a payment module, enter Provider → Payment methods → click Add:

  1. Selecting the payment module "NOWPayments".
  2. Integration setup. Specify data for integration from the account settings in NOWPayments:
    1. Email.
    2. Password.
    3. API key. To find out the API key, log in to NOWPayments and go to SettingsPaymentsAPI Keys.
    4. If necessary, enable Sandbox mode.
  3. Payment method setup. Configure internal (within BILLmanager) parameters of the service payment module. For more details, see How to add a payment gateway module.

Additional information

Logs

Logs of interaction between the billing platform and NOWPayments are written to file /usr/local/mgr5/var/pmnowpayments.log.

Module structure

  • /dist/skins/common/plugin-logo/billmanager-plugin-pmnowpayments.png — NOWPayments logo, will be copied to /usr/local/mgr5/skins/common/plugin-logo/
  • Makefile — script for copying files to required directories
  • /nowpayments — directory with auxiliary functions for working with NOWPayments API:
    • api.pyauxiliary functions for working with API
    • enums.py — auxiliary enumerations for working with API
    • __init__.py — preliminary actions before calling the API
    • exceptions.py — exception calling
  • pmnowpayments.py — main module of the payment system handler
  • nowpaymentspayment.py — CGI for regular payments
  • nowpaymentspaymentresult.py — CGI for instant payment verification
  • /xml/billmgr_mod_pmnowpayments.xml — XML file with description of the form interface