diff --git a/src/global-methods.js b/src/global-methods.js index bfe2a7e4..deed5368 100644 --- a/src/global-methods.js +++ b/src/global-methods.js @@ -60,7 +60,7 @@ export default { const headers = { [headerKeys.EXPERIMENT]: JSON.stringify(store.experimentSettings), [headerKeys.APPLICATION_NAME]: applicationConfig.APPLICATION_NAME, - [headerKeys.TRANSACTION_ID]: store.order.payment.creditCardToken.transactionId, + [headerKeys.TRANSACTION_ID]: store.order.referralCorrelationId, [headerKeys.ENTERPRISE_ORDER_NUMBER]: store.order.eon, [headerKeys.REFERRAL_SEQUENCE_NUMBER]: store.order.referralSequenceNumber, [headerKeys.SESSION_SEQUENCE_NUMBER]: sessionKey diff --git a/src/helpers/logger.js b/src/helpers/logger.js index 3b40b6f0..96eb0909 100644 --- a/src/helpers/logger.js +++ b/src/helpers/logger.js @@ -71,7 +71,7 @@ export class Logger { const headers = { [headerKeys.EXPERIMENT]: JSON.stringify(store.experimentSettings), [headerKeys.APPLICATION_NAME]: applicationConfig.APPLICATION_NAME, - [headerKeys.TRANSACTION_ID]: store.order.payment.creditCardToken.transactionId, + [headerKeys.TRANSACTION_ID]: store.order.referralCorrelationId, [headerKeys.ENTERPRISE_ORDER_NUMBER]: store.order.eon, [headerKeys.REFERRAL_SEQUENCE_NUMBER]: store.order.referralSequenceNumber, [headerKeys.SESSION_SEQUENCE_NUMBER]: sessionKey