Merge pull request #1428 from Safelite/feature/CSR-1390-style

Feature/csr 1390 style
This commit is contained in:
CarlNation 2023-10-19 06:57:54 -04:00 committed by GitHub
commit 3f3e4e3fc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
);