Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix payment cancellation for pending store credits
This fixes store credit payment cancellation when auto-capture is turned off. When auto-capture is turned off an order can be canceled with its store credit payments "authorized" but not "captured". The old code was marking the payments as voided but not actually voiding them and releasing the authorization.
- Loading branch information