Hello, all i just wanted to share i was able to fix my order / payment unpaid issue
What solved the issue:
The fix was: InvoiceSettled should not have a reasonCode. Wix requires the final InvoiceSettled event without reasonCode to mark the order as paid. The combination of:
Sending 4 sequential webhook events (instead of one with a loop)
Setting reasonCode: 5009 only for the first 3 events
Sending InvoiceSettled without reasonCode (the final event that marks it as paid)
Ignoring legacy webhooks to prevent duplicates
I hope this helps! ![]()