Updates the status of an order's payment.
This method only updates the payment record. It doesn't interact with the payment provider or move any funds.
Notes:
APPROVED and VOIDED statuses.paymentStatus is recalculated asynchronously after the call.You can only call this method when authenticated as a Wix app or Wix user identity.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.