Merge pull request #1900 from Safelite/feature/CSR-2130

CSR-2130 use credit card field from qs
This commit is contained in:
CarlNation 2024-07-11 17:00:42 -04:00 committed by GitHub
commit da8290ca36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,11 +45,13 @@ export default {
);
}
} else {
const token = getQuerystringParameter(queryStrings.TOKEN);
if (token) {
await this.processPaypalResponse();
} else {
const card_expirationMonth = getQuerystringParameter(
queryStrings.CARD_EXPIRATION_MONTH
);
if (card_expirationMonth) {
await this.processCreditCardResponse();
} else {
await this.processPaypalResponse();
}
}
},