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 {
|
} else {
|
||||||
const token = getQuerystringParameter(queryStrings.TOKEN);
|
const card_expirationMonth = getQuerystringParameter(
|
||||||
if (token) {
|
queryStrings.CARD_EXPIRATION_MONTH
|
||||||
await this.processPaypalResponse();
|
);
|
||||||
} else {
|
if (card_expirationMonth) {
|
||||||
await this.processCreditCardResponse();
|
await this.processCreditCardResponse();
|
||||||
|
} else {
|
||||||
|
await this.processPaypalResponse();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue