Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(payment-option): hide dibs when no previous orders (#697)
Currently, handout orders do _not_ produce a movedFromOrder, and thus the originalOrderIds array will be empty. Since we just check that every order is by the customer, this will return true if there are no orders. Therefore, we have to reject DIBS if there are no previous orders.
- Loading branch information