Closed ndeet closed 7 months ago
Hey! Thanks to the BTCPay Server team for its existence :)
In XenForo there is no concept of purchase statuses: payment is either received or not. Otherwise we can just notify about different things in the payment provider log. I think I'll just add logs for some of the situations you described
Hi! First of all, thank you very much for building this great integration for BTCPay Server :hugs:
On processing the webhooks it only listenens to the InvoiceSettled event at the moment which means that a few cases are not covered
Not sure if XF has some concept of order states so maybe not all usecases can or should be covered but you can see in our WooCommerce plugin how to cover all cases
You likely would not need all of it but I would at least additionally cover the case of an expired invoice paid late, which will not fire
InvoiceSettled
but rather aInvoiceExpired
followed by anInvoicePaymentSettled
Let me know if you have any questions.
Thank you.