[XB] Payment Provider: NOWPayments

[XB] Payment Provider: NOWPayments [Paid] 2.0.2 Release Candidate 1

No permission to buy ($15.00)
I have gotten alot of these over the past few days. It seems to be random. We get back 'Expired' transactions in the payment log, even though the customer can show us the receipt that the payment was completed.
Doing a search in NowPayments shows the status of the transaction as expired. Crazy days.
I have been advising my customers to keep the pop-up window open until the transaction completes and clears (not sure if it matters). Out of the 2,000 or so transaction records in NowPayments in the last 2 days, 1,900 of them are 'Expired'. This tells me one of many things is happening:
1) nobody knows how to use crypto (our only option for this client)
2) when the window opens, it automatically starts a transaction before any user interaction
I do get some random server log errors about Payments not being found..
  • GuzzleHttp\Exception\ClientException: Client error: GET https://api.nowpayments.io/v1/payment/6174663788 resulted in a 404 Not Found response:{"status":false,"statusCode":404,"code":"NOT_FOUND","message":"Payment not found"}
  • src/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
but other than that, most of it seems to be working.
 
Cloudflare expression:


(ip.src eq 51.89.194.21) or (ip.src eq 51.75.77.69) or (ip.src eq 138.201.172.58) or (ip.src eq 65.21.158.36) or (http.user_agent wildcard r"NOWPayments")
 
I have gotten alot of these over the past few days. It seems to be random. We get back 'Expired' transactions in the payment log, even though the customer can show us the receipt that the payment was completed.
Doing a search in NowPayments shows the status of the transaction as expired. Crazy days.
I have been advising my customers to keep the pop-up window open until the transaction completes and clears (not sure if it matters). Out of the 2,000 or so transaction records in NowPayments in the last 2 days, 1,900 of them are 'Expired'. This tells me one of many things is happening:
1) nobody knows how to use crypto (our only option for this client)
2) when the window opens, it automatically starts a transaction before any user interaction
I do get some random server log errors about Payments not being found..
  • GuzzleHttp\Exception\ClientException: Client error: GET https://api.nowpayments.io/v1/payment/6174663788 resulted in a 404 Not Found response:{"status":false,"statusCode":404,"code":"NOT_FOUND","message":"Payment not found"}
  • src/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
but other than that, most of it seems to be working.

Expired usually means that they have sent a payment after invoice expired (assuming that payment came through) Invoice is valid for 20min due to crypto volatility if they send payment after invoice expired, you should still see the amount they sent - you received, although it might be not sufficient amount at the time it was received to complete payment automatically and NowPayments would mark it as "partial-paid"

I would add additional text warning to the invoice window: if you unable to send payment while invoice is active, payment may require manual intervention from admin. For flawless automatic payment process, ensure payment is sent within 20 min of invoice creation.
 
Expired usually means that they have sent a payment after invoice expired (assuming that payment came through) Invoice is valid for 20min due to crypto volatility if they send payment after invoice expired, you should still see the amount they sent - you received, although it might be not sufficient amount at the time it was received to complete payment automatically and NowPayments would mark it as "partial-paid"

I would add additional text warning to the invoice window: if you unable to send payment while invoice is active, payment may require manual intervention from admin. For flawless automatic payment process, ensure payment is sent within 20 min of invoice creation.
yeah, I did that earlier this morning.
 
I have whitelisted the IPN IP's in CloudFlare.
The payment is listed as completed in NOW.
I have sent the IPN notification. This is the url:
/payment_callback.php?_xfProvider=ozzmodz_nowpayments&payment_profile_id=1
The Payment Provider Log has no records.
The user does not receive the upgrade.

What do I do now?
 
You might also want to check firewall settings in your hosting company. If there are no records in the Payment Provider logs, the IPN callback probably did not get through.
Also check your Cloudflare firewall logs to see if an event was triggered.
(just my two cents)
 
I manually changed the account usergroup.

I then manually triggered an IPN Notification through NOWPayments.

The member is not listed with Active Upgrades.
/admin.php?user-upgrades/active

The member did get 65k alerts about it, which is a bit excessive.
Screenshot_20251126_222629_Chrome.webp

The payment provider log has no recent entries.

There is this message in the admincp:
There are scheduled jobs outstanding which have not run. Jobs may not be getting triggered when expected.
I assume this is because more alerts are being triggered and the jobs system clogs up?

What do I need to do to resolve this?
 
Last edited:
There is this message in the admincp:
There are scheduled jobs outstanding which have not run. Jobs may not be getting triggered when expected.
I assume this is because more alerts are being triggered and the jobs system clogs up?
I don't think it's related. Payment profiles are processed directly, without the involvement of a job runner.

I manually changed the account usergroup.

I then manually triggered an IPN Notification through NOWPayments.

The member is not listed with Active Upgrades.
/admin.php?user-upgrades/active
The payment provider log has no recent entries.
Check the request log at your web server level (apache/nginx/etc).
Do entries appear when you manually trigger an IPN request?

These should be requests to the "/payment_callback.php?_xfProvider=ozzmodz_nowpayments"
 
No response for 10 months. Is this add-on still active, or has it been discontinued?
 
The addon works fine.

NOWPayments itself I'd say it's sort of working. The addon does not allow your members to pay with NOW on the website. Members can use the payment method to get a payment link in their email. They then go to their email, click the link, try to pay on the NOWpayments website and then less than half of payments will actually go through. Check your There are minimum thresholds on BTC that your members will not expect.
Compared to other providers the success rate is much lower because of the above issues, but most other providers will give so much hassle that its not worth the headache.

NOWPayments is not optimal by any means, but it does result in some payments coming in.
Thank you for the update. i was thinking of setting up the btcpay server, and they have a xenforo addon. After your message, I am now confirmed that I need to set up a BTCpay server to stop all these problems.
 
Thank you for the update. i was thinking of setting up the btcpay server, and they have a xenforo addon. After your message, I am now confirmed that I need to set up a BTCpay server to stop all these problems.
Not sure where that comment came from, been using Nowpayments for several years, not a single issue, over 100 coins supported, no need for users to register while using this addon.
 
Not sure where that comment came from, been using Nowpayments for several years, not a single issue, over 100 coins supported, no need for users to register while using this addon.
Can I get a forum URL or a demo account on the forum where you use it? It would be a great help if you could provide a demo account so I can check and buy without any doubt.
 
Painbaker updated [XB] Payment Provider: NOWPayments with a new update entry:

2.0.2 Release Candidate 1

This update significantly improves the NOWPayments checkout experience with live cryptocurrency estimates, minimum payment validation, and clearer payment information. It also reworks recurring payments and introduces major security and reliability improvements across payment creation, IPN handling, subscriptions, refunds, and payment status tracking.

⚠️ This is a release candidate version. Please take a full backup before installing it on a production site.
...

Read the rest of this update entry...
 
Back
Top Bottom