The order starts the invoice. The cleared payment finishes it.
When a payment is made from an associated order, One creates the Xero invoice using the merchant's saved accounting settings. The customer can then pay from the QR code or payment link.
When the payment clears, the integration adds it to Xero and allocates it to the invoice. Xero records a fully paid invoice with PAID status, giving the merchant one trail from the order to the money.
You still decide where the sale lands.

Windsor Half runners are funding safe homes in Oxford.
Edge Housing provides accommodation and support to more than 30 residents at a time, including people rebuilding after homelessness, addiction and trauma. Its Windsor Half fundraiser will help with household essentials, emergency support and the small touches that turn safe housing into a home.
