SSR-1470 Refactor Payment Method

This commit is contained in:
Josh Dassinger 2024-08-28 13:15:53 -05:00
parent 81cfcd9120
commit 9fb8b7a264

View file

@ -1310,9 +1310,7 @@ export const useMainStore = defineStore({
payment: {
parentAccountNumber: this.issConfig.parentAccountNumber,
paypalToken: payment.paypalToken,
isPaypal: payment.payInAdvanceType === paymentMethods.PAYPAL,
isCreditCard: payment.payInAdvanceType === paymentMethods.CREDIT_CARD,
isAfterpay: payment.payInAdvanceType === paymentMethods.AFTERPAY,
paymentMethod: payment.payInAdvanceType,
nextGenSettledAmount: payment.nextGenSettledAmount,
CCToken: payment.creditCardToken
},