diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index db82a7a34..c4e98e114 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -340,7 +340,10 @@ export default { const currentDeductible = store.getters.policy.currentDeductible; const isInsuranceSet = () => { if (isInsurance !== null) { - if (insuranceCoverageStatus === coverageStatus.VERIFIED && !(currentDeductible === 0 || currentDeductible > 0) ) { + if ( + insuranceCoverageStatus === coverageStatus.VERIFIED && + !(currentDeductible === 0 || currentDeductible > 0) + ) { return false; // if coverageStatus is verified there must be a valid deductible also } return true; diff --git a/src/store/index.js b/src/store/index.js index ac817c6a1..99d87ba60 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -766,7 +766,8 @@ export const getters = { isVerifiedAndDeductibleZeroConfirmed: (state) => { // used as a CMS variable on /payment-method, needed for FunnelSubHeaderWidget on cart pages if ( - (state.order.policy.currentDeductible === 0 || state.order.policy.currentDeductible > 0) && + (state.order.policy.currentDeductible === 0 || + state.order.policy.currentDeductible > 0) && state.order.payment.insuranceCoverage.coverageStatus === coverageStatus.VERIFIED && !state.order.policy.isNoComp ) {