You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have noticed that when a customer pays with BTCPay and they over pay the invoice the payment is not added to their account. However, we have notieced to things.
If we manually mark the payment as settled in BTCPay the webhook instantly fails with a status of a red X and not other callback will work on any future payments unless we removed the webhook and add it again.
In addition to this. Even when the payment is manually changed to settled the BTCPay plugin in Xenforo cannot find the transaction.
_`Error: Could not validate purchasable: Unable to find transaction '25067'`_
Below is the full error log in Xenforo minus some edited keys
021-projects
changed the title
We have noticed that when a customer pays with BTCPay and they over pay the invoice the payment is not added to their account. However, we have notieced to things.
Manually marking an invoice as paid breaks a webhooks
Jul 30, 2024
If we manually mark the payment as settled in BTCPay the webhook instantly fails with a status of a red X and not other callback will work on any future payments unless we removed the webhook and add it again.
Does this issue only occur with overpaid invoices? It seems that if you mark an unpaid invoice as settled, there is no such issue.
Could you please clarify what exactly you are paying for: user upgrades or something else from custom add-ons?
We have noticed that when a customer pays with BTCPay and they over pay the invoice the payment is not added to their account. However, we have notieced to things.
If we manually mark the payment as settled in BTCPay the webhook instantly fails with a status of a red X and not other callback will work on any future payments unless we removed the webhook and add it again.
In addition to this. Even when the payment is manually changed to settled the BTCPay plugin in Xenforo cannot find the transaction.
Below is the full error log in Xenforo minus some edited keys
array(3) { ["signature"] => string(71) "sha256=9c8b026d6XXXXXXXXXXXX0f3983205cf714438f5ad6508bac993e44580f" ["type"] => string(14) "InvoiceSettled" ["body"] => string(472) "{ "deliveryId": "XGCABCXXXXXXXXXbWA2xZc", "webhookId": "BMu7LCXXXXXXXXXXX6rVCz", "originalDeliveryId": "4t2L2VXXXXXXspHw9w", "isRedelivery": true, "type": "InvoiceSettled", "timestamp": 1722213086, "manuallyMarked": true, "overPaid": false, "storeId": "CH3P2hYfLL3XXXXXXXXXXXXXSvsjyzGpSPJTYa", "invoiceId": "GQHsXXXXXXXXXKEHDgD", "metadata": { "request_key": "KYJjkR24XXXXXXXXXXXOxH46c7oe", "purchase_request_id": 18056 } }" }
We are using Xenforo 2.2.16 and the latest BTCPay © BTCPay Server v1.13.5+30d91d0bd BTCPay Provider 1.0.0 ( Xenforo Plugin )
Thank you
Originally posted by @BenjaminM007 in btcpayserver/btcpayserver#6126
The text was updated successfully, but these errors were encountered: