From 9fb8b7a2642177effabda7199c5681cf7588d063 Mon Sep 17 00:00:00 2001 From: Josh Dassinger Date: Wed, 28 Aug 2024 13:15:53 -0500 Subject: [PATCH] SSR-1470 Refactor Payment Method --- src/store/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 30163cba..1c67fef6 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -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 },