Skip to content
NOWPayments Crypto Gateway for Paymenter

NOWPayments Crypto Gateway for Paymenter

Allowing merchants to integrate NOWPayments as a payment gateway.

Developer

Enjuu

Last Updated

August 20, 2025

Price

Free

Installs

94 installs

Categories

extension

About this extension

NowPayments – Paymenter Gateway (Crypto Payments)



[JUSTIFY]
<b>Accept 200+ cryptocurrencies (BTC, ETH, USDT &amp; more) directly in Paymenter.</b>
This production‑ready gateway integrates NowPayments with Paymenter, letting you collect secure crypto payments with real‑time status updates via IPN webhooks. Ideal for hosting providers, SaaS, and digital merchants who want fast global settlements and lower fees without building a custom crypto stack.
[/JUSTIFY]

What this extension does



  • <b>Adds a &quot;NowPayments&quot; gateway</b> in Paymenter (v1.0+)
  • <b>Creates crypto invoices</b> with a hosted checkout (QR code, on‑chain address)
  • <b>Auto‑reconciles payments</b> via IPN (paid, confirming, failed, etc.)
  • <b>Verifies webhook signatures</b> using HMAC‑SHA512
  • <b>Supports 200+ coins</b> with rate conversion from a base fiat (USD/EUR/GBP…)
  • <b>Sandbox mode</b> to test end‑to‑end without real funds
  • <b>Clean logs</b> and minimal configuration; no card data or private keys stored


Who is it for?



  • Hosting/VPS providers and resellers using Paymenter
  • SaaS and digital downloads needing global, borderless checkout
  • Projects wanting to add crypto alongside existing gateways


How it works (flow)



  1. Customer selects <b>NowPayments (Crypto)</b> at checkout.
  2. Extension creates a NowPayments invoice and redirects to the hosted page.
  3. Customer pays in their chosen coin (QR/address shown).
  4. NowPayments sends <b>IPN webhooks</b> → extension verifies HMAC signature.
  5. Statuses are mapped in Paymenter (e.g., <span style="color:green">confirmed/finished</span> → invoice marked paid).


Key Features



  • <b>Secure payment processing</b> via NowPayments hosted checkout
  • <b>Automatic status sync</b> (waiting/confirming/finished/failed…)
  • <b>200+ cryptocurrencies supported</b> with automatic conversion
  • <b>HMAC‑SHA512 webhook signature verification</b>
  • <b>Sandbox/Test mode</b> for safe end‑to‑end testing
  • <b>Works with Paymenter v1.0+</b>


Requirements



  • Paymenter v1.0 or newer
  • A NowPayments merchant account (sign up at <a href="https://nowpayments.io" target="_blank" class="text-[var(--vp-c-brand-1)] hover:underline">nowpayments.io</a>)
  • Server can receive HTTPS webhooks (publicly reachable callback URL)


Installation


1) Install the Extension
Go to <b>Admin → Browse Extensions</b> in Paymenter and install <b>NowPayments</b>.


2) Configure the Gateway
Navigate to <b>Admin → Settings → Extension Settings</b> and fill in:

<ol class="list-decimal pl-5 my-4 space-y-1">
<li>&lt;b&gt;API Key&lt;/b&gt; (from NowPayments dashboard)
<li>&lt;b&gt;IPN Secret Key&lt;/b&gt; (from NowPayments → Settings → IPN)
<li>&lt;b&gt;Base Currency&lt;/b&gt; (e.g., USD / EUR / GBP)
<li>&lt;b&gt;Sandbox Mode&lt;/b&gt; (optional)
</ol>


3) Set up IPN Webhook
<ol class="list-decimal pl-5 my-4 space-y-1">
<li>In NowPayments: &lt;b&gt;Settings → IPN&lt;/b&gt; → enable notifications
<li>Set IPN Callback URL to:
<pre class="bg-gray-100 dark:bg-gray-800 p-3 rounded-md overflow-x-auto text-sm my-2"><code>https://yourdomain.com/extensions/gateways/nowpayments/webhook</code></pre>
<li>Generate and save your &lt;b&gt;IPN Secret Key&lt;/b&gt;
<li>Paste the same key into your Paymenter configuration
</ol>


Configuration Reference



  • <b>api_key</b> — NowPayments API key (<b>Required</b>)
  • <b>ipn_secret</b> — Secret used to verify webhook signatures (<b>Required</b>)
  • <b>currency</b> — Base fiat currency for pricing (USD/EUR/GBP/…) (<b>Required</b>)
  • <b>sandbox_mode</b> — Use NowPayments sandbox environment (Optional)


Webhook Handling & Security


All incoming IPNs are validated using HMAC‑SHA512 to prevent spoofing:
hash_hmac('sha512', $request_body, $ipn_secret)


Status mapping used by the gateway:

  • <span style="color:green">finished</span>, <span style="color:green">confirmed</span> → invoice marked paid
  • <span style="color:orange">waiting</span>, <span style="color:orange">confirming</span>, <span style="color:orange">sending</span> → payment processing
  • <span style="color:orange">partially_paid</span> → partial payment logged
  • <span style="color:red">expired</span>, <span style="color:red">failed</span>, <span style="color:red">refunded</span> → payment failed/cancelled


Testing (Sandbox)



  • Enable <b>Sandbox Mode</b> in the gateway settings
  • Use the NowPayments sandbox portal to generate test payments
  • Verify that Paymenter updates the invoice automatically on IPN


Troubleshooting


Webhook signature mismatch?
<ul class="list-disc pl-5 my-4 space-y-1">
<li>Confirm the same &lt;b&gt;IPN Secret Key&lt;/b&gt; is set in both NowPayments and Paymenter
<li>Ensure IPN is enabled in your NowPayments account
</ul>


Payment not marked completed?
<ul class="list-disc pl-5 my-4 space-y-1">
<li>Check Paymenter logs at:
<pre class="bg-gray-100 dark:bg-gray-800 p-3 rounded-md overflow-x-auto text-sm my-2"><code>storage/logs/laravel.log</code></pre>
<li>Review webhook attempts in NowPayments → Payment History
</ul>


Minimum amount errors?
Each coin has a minimum amount on NowPayments. The gateway checks limits before creating payments and logs issues when below minimum.


FAQ



  • <b>Which coins are supported?</b> Over 200 cryptocurrencies including BTC, ETH, USDT, USDC, LTC, etc. (availability may vary by region).
  • <b>Do I need to manage wallets?</b> No—NowPayments handles addresses and confirmations; you just receive payouts per your NowPayments settings.
  • <b>Can customers pay network fees?</b> The gateway can pass fees to users or absorb them (configurable at code level).
  • <b>Will this conflict with other gateways?</b> No—You can keep multiple gateways active in Paymenter.


Support & Issues


If you need help, open a GitHub Issue with logs and steps to reproduce. Include your Paymenter version and whether sandbox mode is enabled.

License


This extension is open‑source under the MIT License.

[CENTER]<span style="color:#888888">Sponsored</span>: &lt;b&gt;vps.direct&lt;/b&gt; — Privacy‑focused hosting. Relentless performance.[/CENTER]