Skip to content

Commit

Permalink
fix: changing the method to store.selected method instead of scheme (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
zenit2001 authored Jul 22, 2024
1 parent 7525c5d commit 50cb54f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function getCardConfig() {
store.isValid = state.isValid;
const method = state.data.paymentMethod.storedPaymentMethodId
? `storedCard${state.data.paymentMethod.storedPaymentMethodId}`
: constants.SCHEME;
: store.selectedMethod;
store.updateSelectedPayment(method, 'isValid', store.isValid);
store.updateSelectedPayment(method, 'stateData', state.data);
},
Expand Down

0 comments on commit 50cb54f

Please sign in to comment.