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 {