Marks an offline order as paid.
Note: Marking separate payment cycles as paid is not yet supported. The entire order will be marked as paid. Subsequent offline payments do trigger events and emails, but are not registered as additional offline payments.
Marking an offline order as paid causes the following changes:
lastPaymentStatus
changes to "PAID"
."PENDING"
or "ACTIVE"
, depending on the order's startDate
.An error occurs if you attempt to:
You can only call this method when authenticated as a Wix app or Wix user identity.