hemfixarna-web-components 1.8.25 → 1.8.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -597,6 +597,8 @@ const HemfixarnaCheckout = class {
597
597
  else {
598
598
  order = Object.assign(Object.assign({}, order), { felixStatus: 'success' });
599
599
  }
600
+ // Lets /weborder anonymize the order right away when felixStatus is 'success'
601
+ order = Object.assign(Object.assign({}, order), { felix_record_id: felixOrder ? felixOrder.recordId : undefined });
600
602
  try {
601
603
  const { data: orderConfirm, status } = await postOrder(order);
602
604
  if (orderConfirm && status && status === 200) {