tf-checkout-react 1.3.50-beta.1 → 1.3.50-beta.3

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.
@@ -7613,6 +7613,18 @@ var IDVerification = function IDVerification(props) {
7613
7613
  __html: iframe
7614
7614
  };
7615
7615
  };
7616
+ React.useEffect(function () {
7617
+ var isWindowDefined = typeof window !== 'undefined';
7618
+ var orderHash = getQueryVariable('order_hash');
7619
+ if (isWindowDefined) {
7620
+ var checkoutData = JSON.parse(window.localStorage.getItem('checkoutData') || '{}');
7621
+ if (_isEmpty(checkoutData) && orderHash) {
7622
+ window.localStorage.setItem('checkoutData', JSON.stringify({
7623
+ hash: orderHash
7624
+ }));
7625
+ }
7626
+ }
7627
+ }, []);
7616
7628
  return React__default.createElement("div", null, React__default.createElement("h2", {
7617
7629
  className: "page-header"
7618
7630
  }, "Account Verification"), loadingStatus ? null : React__default.createElement(React__default.Fragment, null, !isAccountVerifiedOrPending && React__default.createElement("div", {