Merge pull request #1900 from Safelite/feature/CSR-2130
CSR-2130 use credit card field from qs
This commit is contained in:
commit
da8290ca36
1 changed files with 6 additions and 4 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue