I wonder if there is a good code example of taking payments with wix pay and then sending an invoice through wix billing? I’ve created an order form with a payment window but would also like invoices to be sent automatically when the payment is completed.
How does the PaymentInfo object translate to the InvoiceField object? And how to work with pending payments that are completed at a later time?
Help with this would be appreciated