aure34 Posted May 10, 2023 Share Posted May 10, 2023 Hi there, On Prestashop 1.7.8.7, I have a strange issue. On a paid and shipped order, I want to do a partial refund. But I've got an error : "An unexpected error occurred. [PrestaShop\PrestaShop\Core\Domain\Shop\Exception\ShopException code 0]: Shop id 0 is invalid. Shop id must be number that is greater than zero." Sometimes the 2nd part of the message ("Shop id 0 is invalid. Shop id must be number that is greater than zero.") did not appear, but there's still an error. It's not occur on every order, but I didn't find the difference between them. The error isn't explicit enought, so I hope someone already get this trouble and found a solution. Thanks Link to comment Share on other sites More sharing options...
juanrojas Posted May 10, 2023 Share Posted May 10, 2023 hello, is it a multi store? Link to comment Share on other sites More sharing options...
aure34 Posted May 10, 2023 Author Share Posted May 10, 2023 1 hour ago, juanrojas said: hello, is it a multi store? We have the issue on 2 différents website, one is multi store, the other not Link to comment Share on other sites More sharing options...
juanrojas Posted May 10, 2023 Share Posted May 10, 2023 please do not mix the themes, this error is from the multi-store store or not? Link to comment Share on other sites More sharing options...
aure34 Posted May 10, 2023 Author Share Posted May 10, 2023 8 minutes ago, juanrojas said: please do not mix the themes, this error is from the multi-store store or not? Website A : yes Website B : no Issue is the same on both sites, I do not mix the themes Link to comment Share on other sites More sharing options...
juanrojas Posted May 10, 2023 Share Posted May 10, 2023 forget it, I think I'm lost Link to comment Share on other sites More sharing options...
edutac Posted May 12, 2023 Share Posted May 12, 2023 Hi Juanrojas, I have the same issue after a standard/partial refund ? Did you fixed it ? Link to comment Share on other sites More sharing options...
edutac Posted May 17, 2023 Share Posted May 17, 2023 On 5/10/2023 at 4:13 PM, aure34 said: Website A : yes Website B : no Issue is the same on both sites, I do not mix the themes Hello aure34, I have the same issue after a standard/partial refund ? Did you fixed it ? Thanks a lot for your answer ! Ed Link to comment Share on other sites More sharing options...
zanpo Posted October 6, 2023 Share Posted October 6, 2023 (edited) Hey guys, I managed to solve this issue (at least for my current situation). For some reason my order had id_cart = 1 in ps_orders, so I looked at my shopping carts page and took a cart ID number from there and add it to id_cart. After this I could easily refund the order without errors. Hope it helps. Edited October 6, 2023 by zanpo (see edit history) 1 Link to comment Share on other sites More sharing options...
piotrmerton Posted September 16 Share Posted September 16 On 10/6/2023 at 2:09 PM, zanpo said: Hey guys, I managed to solve this issue (at least for my current situation). For some reason my order had id_cart = 1 in ps_orders, so I looked at my shopping carts page and took a cart ID number from there and add it to id_cart. After this I could easily refund the order without errors. Hope it helps. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now