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.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.