diff --git a/src/layouts/payment-pia-return/payment-pia-return.vue b/src/layouts/payment-pia-return/payment-pia-return.vue index 3d5231e36..9e6e76c56 100644 --- a/src/layouts/payment-pia-return/payment-pia-return.vue +++ b/src/layouts/payment-pia-return/payment-pia-return.vue @@ -56,21 +56,22 @@ export default { await this.processPaypalResponse(); break; default: { - // If we're here, the payment-method did not get properly set in + // If we're here, the payment-method did not get properly set in // payment.vue method handleIFrameContentWindowMessage, we will look and see if // if we can default it to credit card. The payment method type is most likely still // set to PayNow originally set in payment-method.vue const lastFour = getQuerystringParameter(queryStrings.LAST_FOUR); if (lastFour) { - console.log(new Date() + ": Payment method credit card selected by default"); + console.log( + new Date() + ": Payment method credit card selected by default" + ); this.dispatchStoreAction( storeActions.SAVE_PAYMENT_METHOD_CHOICE, paymentMethods.CREDIT_CARD, false ); await this.processCreditCardResponse(); - } - else { + } else { var msg = "Unknown Pia type: " + store.getters.order.payment.piaType; console.log(msg); this.$router.navigateWithoutSaving( @@ -78,7 +79,7 @@ export default { this.$route, {}, { [routerParams.DISPLAY_PIA_ALERT]: true } - ); + ); } } } diff --git a/src/store/index.js b/src/store/index.js index 5a8782ccd..6a6c60cde 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1778,7 +1778,8 @@ export const actions = { order.payment.piaType == paymentMethods.CREDIT_CARD ? true : false, isPaypal: order.payment.piaType == paymentMethods.PAYPAL ? true : false, isAfterPay: order.payment.piaType == paymentMethods.AFTERPAY ? true : false, - isApplePay: order.payment.piaType == paymentMethods.APPLE_PAY ? true : false, + isApplePay: + order.payment.piaType == paymentMethods.APPLE_PAY ? true : false, paypalToken: order.payment.paypalToken, nextGenSettledAmount: order.payment.nextGenSettledAmount, ccToken: {