This is an extension for Paymenter, allowing merchants to integrate NowPayments as a payment gateway. The extension enables customers to pay using cryptocurrencies while automating payment status updates.
Sign up here if you don't have a NowPayments account.
- ✅ Secure payment processing via NowPayments
- ✅ Automatic payment status updates via IPN webhooks
- ✅ Supports 200+ cryptocurrencies
- ✅ HMAC-SHA512 signature verification for security
- ✅ Sandbox mode for testing
- ✅ Works with Paymenter v1.0+
- Download the latest release from the GitHub
- Move the downloaded files to the
extensions/Gateways/NOWPaymentsdirectory of your Paymenter installation.
Navigate to Admin Panel → Settings → Extension Settings, then:
- Enable the NowPayments payment gateway
- Enter your API Key (found in your NowPayments dashboard)
- Enter your IPN Secret Key (set up in NowPayments IPN settings)
- Set the base currency (e.g.,
USD,EUR,GBP) - Optionally enable Sandbox Mode for testing
- Log in to your NowPayments account
- Go to Settings → IPN Settings
- Enable IPN Notifications
- Set your IPN Callback URL to:
https://yourdomain.com/extensions/gateways/nowpayments/webhook - Generate and save your IPN Secret Key
- Add this secret key to your Paymenter configuration
| Option | Description | Required |
|---|---|---|
api_key |
Your NowPayments API Key | ✅ |
ipn_secret |
Your IPN Secret Key for webhook verification | ✅ |
currency |
Base fiat currency (e.g., USD, EUR, GBP) |
✅ |
sandbox_mode |
Enable sandbox/test mode | ❌ |
NowPayments sends IPN notifications when payment status changes. This extension:
- ✅ Verifies webhook signatures using HMAC-SHA512:
hash_hmac('sha512', $request_body, $ipn_secret) - ✅ Processes payment statuses:
- 🟢
finished,confirmed→ Marks invoice as paid - 🟡
waiting,confirming,sending→ Payment processing - 🟠
partially_paid→ Logs partial payment - 🔴
expired,failed,refunded→ Payment failed
- 🟢
- Ensure your IPN Secret Key is correctly configured in both NowPayments and Paymenter
- Verify IPN is enabled in your NowPayments account
- Check Paymenter logs:
storage/logs/laravel.log - Verify webhook requests in NowPayments dashboard → Payment History
- NowPayments has minimum payment amounts for each cryptocurrency
- The extension automatically checks these limits before creating payments
- Enable Sandbox Mode in the configuration
- Use NowPayments sandbox environment for testing
- Check NowPayments API status
- Verify your API key has the correct permissions
- Open a GitHub Issue
- All webhooks are verified using HMAC-SHA512 signatures
- API keys are stored securely in Paymenter's configuration
- No sensitive data is logged
This project is licensed under the MIT License.