CSR-2130 use credit card field from qs

CSR-2130 use credit card field from qs to determine payment-method
This commit is contained in:
CarlNation 2024-07-11 16:50:03 -04:00
parent 62e1e189e7
commit 918af52380

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();
}
}
},