Merge pull request #589 from Safelite/feature/digital/SSR-1142

SSR-1142 added CCToken to save session payload
This commit is contained in:
Matt Caimi 2024-03-15 11:04:50 -04:00 committed by GitHub
commit 6b9b1cb68e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1235,7 +1235,10 @@ export const useMainStore = defineStore({
},
parentAccountNumber: this.issConfig.parentAccountNumber,
paypalToken: payment.paypalToken,
isPaypal: payment.payInAdvanceType === paymentMethods.PAYPAL
isPaypal: payment.payInAdvanceType === paymentMethods.PAYPAL,
isCreditCard: payment.payInAdvanceType === paymentMethods.CREDIT_CARD,
isAfterpay: payment.payInAdvanceType === paymentMethods.AFTERPAY,
CCToken: payment.creditCardToken
},
serviceLocation: {
address: {