Skip to content

Commit

Permalink
Remove _sfdc_customer_id (#1731)
Browse files Browse the repository at this point in the history
* Remove _sfdc_customer_id

Signed-off-by: Kevin He <kevin.he@salesforce.com>

* add changelog

* Update packages/template-retail-react-app/CHANGELOG.md

Signed-off-by: Kevin He <kevin.he@salesforce.com>

---------

Signed-off-by: Kevin He <kevin.he@salesforce.com>
  • Loading branch information
kevinxh authored Apr 8, 2024
1 parent 83a2db2 commit 245e7a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions packages/template-retail-react-app/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- Fix locale selector navigating back to default locale [#1670](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/1670)
- Fix handling of offline products on Cart, Checkout, Order History, and Wishlist pages [#1691](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/1691)
- Fix tracking of `viewSearch` event for Einstein analytics, in the case of no-search-results [#1702](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/1702)
- Remove invalid header `_sfdc_customer_id` due to recent MRT HTTP3 upgrade [#1731](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/1731)

## v2.3.1 (Jan 23, 2024)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ const Checkout = () => {
setIsLoading(true)
try {
const order = await createOrder({
// We send the SLAS usid via this header. This is required by ECOM to map
// Einstein events sent via the API with the finishOrder event fired by ECOM
// when an Order transitions from Created to New status.
// Without this, various order conversion metrics will not appear on reports and dashboards
headers: {_sfdc_customer_id: usid},
body: {basketId: basket.basketId}
})
navigate(`/checkout/confirmation/${order.orderNo}`)
Expand Down

0 comments on commit 245e7a8

Please sign in to comment.