From 7b694f2fc35a2f180653c9125bab20aa4129d38a Mon Sep 17 00:00:00 2001 From: Alex Humphries Date: Thu, 19 Feb 2026 16:03:32 -0500 Subject: [PATCH] INSR-7759: More payment-method updates - Updates to how saving/closing contact details affects other fields - Updates to loading payment method and smsOptIn from store - Wiper offer panel --- src/layouts/payment-method/payment-method.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index 2b40aabc..6629c0f5 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -261,7 +261,7 @@ export default { cartTotal() { return formatAmountInDollars(getCartTotal(this.mainStore.order)); }, - isOptedInSMSPreviously() { + hideSMSOptIn() { return false; }, smsOptInHeaderText() { @@ -402,10 +402,12 @@ export default { }, async forwardButtonAction() { this.mainStore.savePaymentMethodChoice(this.paymentMethod); - const requestTextUpdates = this.smsOptIn === 'Yes'; - this.mainStore.updateContactInfo({ requestTextUpdates }); - if (requestTextUpdates) { - this.mainStore.updatePhoneNumbers({ alternative: this.smsPhoneNumber, service: this.smsPhoneNumber }); + if (!this.hideSMSOptIn) { + const requestTextUpdates = this.smsOptIn === 'Yes'; + this.mainStore.updateContactInfo({ requestTextUpdates }); + if (requestTextUpdates) { + this.mainStore.updatePhoneNumbers({ alternative: this.smsPhoneNumber, service: this.smsPhoneNumber }); + } } if (this.paymentMethod === paymentMethods.PAY_AT_TIME_OF_SERVICE) { try {