diff --git a/src/constants/header-keys.js b/src/constants/header-keys.js index 16f54055..b1847281 100644 --- a/src/constants/header-keys.js +++ b/src/constants/header-keys.js @@ -1,7 +1,7 @@ const headerKeys = Object.freeze({ EXPERIMENT: 'X-Experiment-Data', TRANSACTION_ID: 'X-Transaction-Id', - EON: 'X-Enterprise-Order-Number', + ENTERPRISE_ORDER_NUMBER: 'X-Enterprise-Order-Number', APPLICATION_NAME: 'X-Application-Name', REFERRAL_SEQUENCE_NUMBER: 'X-Referral-Sequence-Number', SESSION_SEQUENCE_NUMBER: 'X-Session-Sequence-Number' diff --git a/src/global-methods.js b/src/global-methods.js index b720328b..bfe2a7e4 100644 --- a/src/global-methods.js +++ b/src/global-methods.js @@ -61,7 +61,7 @@ export default { [headerKeys.EXPERIMENT]: JSON.stringify(store.experimentSettings), [headerKeys.APPLICATION_NAME]: applicationConfig.APPLICATION_NAME, [headerKeys.TRANSACTION_ID]: store.order.payment.creditCardToken.transactionId, - [headerKeys.EON]: store.order.eon, + [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 c124b1c2..3b40b6f0 100644 --- a/src/helpers/logger.js +++ b/src/helpers/logger.js @@ -72,7 +72,7 @@ export class Logger { [headerKeys.EXPERIMENT]: JSON.stringify(store.experimentSettings), [headerKeys.APPLICATION_NAME]: applicationConfig.APPLICATION_NAME, [headerKeys.TRANSACTION_ID]: store.order.payment.creditCardToken.transactionId, - [headerKeys.EON]: store.order.eon, + [headerKeys.ENTERPRISE_ORDER_NUMBER]: store.order.eon, [headerKeys.REFERRAL_SEQUENCE_NUMBER]: store.order.referralSequenceNumber, [headerKeys.SESSION_SEQUENCE_NUMBER]: sessionKey };