CASH-2442 ZipPlus4 changes

CASH-2442 pass address line 1/2 to the tax endpoint so zipPlus4 can be requested for tax purposes
This commit is contained in:
CarlNation 2026-03-05 10:19:38 -05:00
parent 969f2a3812
commit e1bd79ef8e
3 changed files with 16 additions and 0 deletions

View file

@ -317,6 +317,10 @@ export default {
serviceLocationZipCode:
store.getters.order.serviceLocation.zipCode,
pricedLineItems: pricedLineItemsToTax,
serviceLocationAddressLine1:
store.getters.order.serviceLocation?.address,
serviceLocationAddressLine2:
store.getters.order.serviceLocation?.address2,
},
"payment-method",
false

View file

@ -322,6 +322,8 @@ export default {
serviceLocationState: store.getters.order.serviceLocation.state,
serviceLocationZipCode: store.getters.order.serviceLocation.zipCode,
pricedLineItems: lineItemsForCart,
serviceLocationAddressLine1: store.getters.order.serviceLocation?.address,
serviceLocationAddressLine2: store.getters.order.serviceLocation?.address2,
},
"payment-method",
false
@ -526,6 +528,10 @@ export default {
serviceLocationState: this.$store.getters.order.serviceLocation.state,
serviceLocationZipCode: this.$store.getters.order.serviceLocation.zipCode,
pricedLineItems: this.lineItems,
serviceLocationAddressLine1:
this.$store.getters.order.serviceLocation?.address,
serviceLocationAddressLine2:
this.$store.getters.order.serviceLocation?.address2,
},
"payment-method",
false
@ -650,6 +656,8 @@ export default {
serviceLocationState: store.getters.order.serviceLocation.state,
serviceLocationZipCode: store.getters.order.serviceLocation.zipCode,
pricedLineItems: this.lineItems,
serviceLocationAddressLine1: store.getters.order.serviceLocation?.address,
serviceLocationAddressLine2: store.getters.order.serviceLocation?.address2,
},
"payment-method",
false

View file

@ -3115,6 +3115,8 @@ export const actions = {
serviceLocationState,
serviceLocationZipCode,
pricedLineItems,
serviceLocationAddressLine1,
serviceLocationAddressLine2,
},
pageNameToLog,
}
@ -3148,6 +3150,8 @@ export const actions = {
appointmentType: appointmentType,
pricedLineItems: lineItemsWithOnlyPriceInfo,
serviceLocation: {
addressLine1: appointmentType == "Mobile" ? serviceLocationAddressLine1 : null,
addressLine2: appointmentType == "Mobile" ? serviceLocationAddressLine2 : null,
city: appointmentType == "Mobile" ? serviceLocationCity : null,
state: appointmentType == "Mobile" ? serviceLocationState : null,
zipCode: appointmentType == "Mobile" ? serviceLocationZipCode : null,