Refresh Logged In Customer Object

Chellytech
Visitor
1 0 0

Hi,

 

We have a form on our store, that when submitted, it hits our internal servers and returns some calculations. We wanted to update the customer' metafields when they run the form.

 

I'm able to accomplish this, however, when the form returns. The customer object isn't refreshed on the page, showing the updated metafields. Is there a way to force the reload of the customer object (not the page) via the JS snippet so the new metafield values are displayed on the page?

 

Thanks.

Replies 0 (0)