Skip to content

Explore Zenq Pay

Sections of the home page, pricing and developer docs.

Sign in

Merchant dashboard

DHRU Fusion

Prerequisites: self-hosted DHRU Fusion, PHP 7.4+ with curl, HTTPS.

  1. Install — upload the modules/ and templates/ folders from nexuspay-dhru-fusion.zip to the DHRU root (next to comm.php). This adds modules/gateways/nexuspay.php, modules/gateways/nexuspay/, modules/gateways/callback/nexuspay_dhru.php and templates/nexuspay_addfunds.tpl.
  2. Activate — Settings → Payment Gateways → Zenq Pay (USDT / USDC) → Activate → Edit; fill in API URL, store API key, environment (test / live), USD currency code, checkout mode.
  3. Webhook — Dashboard → Integrations → DHRU Fusion → step 3 registers https://<dhru>/modules/gateways/callback/nexuspay_dhru.php for invoice.paid; paste the secret.
  4. Self-test — open https://<dhru>/modules/gateways/nexuspay/selftest.php?key=<store API key> while logged in as a client; every row should pass.
  5. Add funds — add {include file="nexuspay_addfunds.tpl"} to a client template: preset amounts ($10 / $25 / $50 / $100 / $250) or a custom amount create a DHRU Add Funds invoice, credited to the balance from the signed webhook only.
  6. Test — a small invoice on a test store with Simulate payment, then a real testnet payment.

The customer chooses USDT or USDC and the network on the hosted checkout. The module credits the DHRU invoice once, only when the signed event matches the invoice id, USD amount and environment it stored, and the payment still covers the invoice's current total. Files that touch DHRU internals are isolated in modules/gateways/nexuspay/nexuspay_dhru.php (inferred behaviour is marked VERIFY:).