INSR-7995: Remove unnecessary IP in request body
This commit is contained in:
parent
aac6cd1dea
commit
5a795744ee
2 changed files with 0 additions and 2 deletions
|
|
@ -471,7 +471,6 @@ export default {
|
||||||
stateOrProvince: this.state,
|
stateOrProvince: this.state,
|
||||||
returnUrl: this.payInAdvanceResponseUrl,
|
returnUrl: this.payInAdvanceResponseUrl,
|
||||||
email: this.mainStore.contactInfo.emailAddress,
|
email: this.mainStore.contactInfo.emailAddress,
|
||||||
IP: "127.0.0.1", // TODO
|
|
||||||
firstName: this.mainStore.contactInfo.firstName,
|
firstName: this.mainStore.contactInfo.firstName,
|
||||||
lastName: this.mainStore.contactInfo.lastName,
|
lastName: this.mainStore.contactInfo.lastName,
|
||||||
idempotencyKey: this.getIdempotencyKey(),
|
idempotencyKey: this.getIdempotencyKey(),
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,6 @@ export default {
|
||||||
}
|
}
|
||||||
const sessionInfo = await getSessionInfo(sessionId, result.sessionResult);
|
const sessionInfo = await getSessionInfo(sessionId, result.sessionResult);
|
||||||
|
|
||||||
// TODO once afterpay info is returned, create cc token and submit order.
|
|
||||||
const paymentMethod = mapAdyenToIssPaymentMethod(sessionInfo?.paymentMethod);
|
const paymentMethod = mapAdyenToIssPaymentMethod(sessionInfo?.paymentMethod);
|
||||||
const amountDue = getCartTotal(store.order);
|
const amountDue = getCartTotal(store.order);
|
||||||
const ccToken = generateCcToken(sessionInfo);
|
const ccToken = generateCcToken(sessionInfo);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue