INSR-7995: Remove unnecessary IP in request body

This commit is contained in:
Alex Humphries 2026-03-17 12:22:49 -04:00
parent aac6cd1dea
commit 5a795744ee
2 changed files with 0 additions and 2 deletions

View file

@ -471,7 +471,6 @@ export default {
stateOrProvince: this.state,
returnUrl: this.payInAdvanceResponseUrl,
email: this.mainStore.contactInfo.emailAddress,
IP: "127.0.0.1", // TODO
firstName: this.mainStore.contactInfo.firstName,
lastName: this.mainStore.contactInfo.lastName,
idempotencyKey: this.getIdempotencyKey(),

View file

@ -56,7 +56,6 @@ export default {
}
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 amountDue = getCartTotal(store.order);
const ccToken = generateCcToken(sessionInfo);