Pass temp-card data after login

I have created an e-commerce store without stripe.
A logged out user can add items to a cart. This data is stored in a custom state - temp-cart - User
When logged out user clicks on check out button of the cart user navigates to login page (I created a page for login - didn’t use the pop-up).
After successful login I want to pass the custom state - temp-cart - User - to the logged in user. I cannot figure out how to do this. After login the card data is currently lost.

Can someone help me with this task?

This topic was automatically closed after 70 days. New replies are no longer allowed.