SSR-1485 Fix Non PIA navigating to payment-page

This commit is contained in:
Josh Dassinger 2024-09-19 13:40:03 -05:00
parent b0bc8c8219
commit 813898e8e5

View file

@ -254,7 +254,8 @@ export default {
const { payInAdvanceType } = useMainStore().order.payment;
const isPayInAdvance =
useMainStore().order.payment.isPayInAdvance
&& !!payInAdvanceType;
&& !!payInAdvanceType
&& !this.isPayInAdvanceDisabled;
return isPayInAdvance
? payInAdvanceType