Title: Store api session reset
Last modified: April 6, 2023

---

# Store api session reset

 *  [svetliostoev](https://wordpress.org/support/users/svetliostoev/)
 * (@svetliostoev)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/store-api-session-reset/)
 * When I use store api with the plugin enabled and multicurrency set to on the 
   session key is refreshed all the time for logged in user. The problem occurs 
   because initialization of the session in classes/REST/Store/Hooks.php. Why this
   initialization is needed here? The result is that session for logged user is 
   not synchronized correctly between the wordpress instance and third party application
   that are using the api to fetch and modify data for the cart.

Viewing 1 replies (of 1 total)

 *  Plugin Support [Andrés Cifuentes](https://wordpress.org/support/users/andrescifuentesr/)
 * (@andrescifuentesr)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/store-api-session-reset/#post-16641293)
 * Hello [@svetliostoev](https://wordpress.org/support/users/svetliostoev/)
 * Thank you very much for bringing this situation to our attention. However, I 
   will need more information in order to better understand it. 
   Is there a way 
   to replicate this issue on the following [test site](https://black-mandolin.sandbox.otgs.work/?auto=IbcbowZDwefCMAr43WJzb3wnvVlATe0O)?
 * Regards,
   Andrés

Viewing 1 replies (of 1 total)

The topic ‘Store api session reset’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-multilingual/assets/icon-256x256.png?rev=2937122)
 * [WPML Multilingual & Multicurrency for WooCommerce](https://wordpress.org/plugins/woocommerce-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-multilingual/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andrés Cifuentes](https://wordpress.org/support/users/andrescifuentesr/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/store-api-session-reset/#post-16641293)
 * Status: not resolved