[XB] Payment Provider: NOWPayments

[XB] Payment Provider: NOWPayments [Paid] 2.0.1 Patch Level 3

No permission to buy ($20.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)
 
Back
Top Bottom