Routing to correct payment method type
This commit is contained in:
CarlNation 2023-10-19 06:46:12 -04:00
parent 782a08b404
commit 7164dc57f3

View file

@ -317,15 +317,7 @@ export default {
);
}
},
async ccdPayment() {
this.piaSetup("cc");
},
async paypal() {
this.piaSetup("pp");
},
async afterpay() {
this.piaSetup("ap");
},
async piaSetup(payNowType) {
this.$refs.loadingModal.showModal();
@ -333,7 +325,7 @@ export default {
await this.dispatchStoreAction(storeActions.RESET_SAVE_SESSION_PROMISE);
await this.dispatchStoreAction(
storeActions.SAVE_PAYMENT_METHOD_CHOICE,
this.paymentMethod,
payNowType,
false
);