PrestaShopCorp / ps_mbo

Pushes modules from the Addons Marketplace
Academic Free License v3.0
20 stars 19 forks source link

Cannot install or update module from Marketplace #757

Closed tone87 closed 5 months ago

tone87 commented 6 months ago

I cannot install or update any module from Marketplace ... in updating module from marketplace say an error like " wrong url shop"

I have a multishop active Prestashop 8.1.6 PHP 8.1.28 MySQL: 10.11.8-MariaDB-log

https://github.com/PrestaShopCorp/ps_mbo/assets/8173557/d2387896-5875-4dca-ac0c-9eaf8500cab4

jinpresta commented 6 months ago

Hello @tone87,

Thank you for your feedback.

Could you please send us your shops' urls ?

Thanks

tone87 commented 6 months ago

Hello @tone87,

Thank you for your feedback.

Could you please send us your shops' urls ?

Thanks

Yes, Main site is fershop.it But i have multistore with: Fershop.fr Fershop.de Fershop.eu Fershop.es

I installed prestashop assistance module

sullivan-monteiro commented 6 months ago

Hello @tone87, We have checked your store in our database and the stored's url with PrestaShop version 8.1.6 is de.fershop.it. We also have an older version with just fershop.it but it's still in PrestaShop version 8.1.2. Can you check the url in your backoffice is correct ? ( Shop parameters -> Traffic & SEO -> Set shop URL)

Capture d’écran 2024-05-20 à 14 42 25

Thanks

tone87 commented 6 months ago

The problem is at multistore active ... as you can see by my screenshot it select automatically the first url from list ... but is not the real main domain .. the real main domain is "fershop.it" -> https://fershop.it i searched on database table .. but there is no way to ordering .. i don't know the system order the store urls image

intraordinaire commented 6 months ago

@tone87 We just released v4.11.3, can you test with it ?

tone87 commented 6 months ago

Hi ! on updating module with marketplace yes, it works !. On install with marketplace it going on error . i think is a problem on CORS i attach screenshot console image

tone87 commented 6 months ago

i tried to reset module but nothing change for install .. i attach the video with console opened

https://github.com/PrestaShopCorp/ps_mbo/assets/8173557/b8aa28fb-0aa1-40f7-bba6-3f228add2908

intraordinaire commented 5 months ago

Hello @tone87 , Thanks a lot for your time and data you give to us.

We are investigating on what happened on your shop (seems to work fine on all our test shops). Is your shop under some firewall or network protection ? Cloudflare or something like that ?

It seems like we receive a 403 from our API call when trying to launch install.

We are looking for a solution.

tone87 commented 5 months ago

Hi, yes i have cloudflare active with Anti BOT active .. how i can add in whitelist your server ? edit i have tried to access on backoffice from fershop.fr where cloudflare proxy is deactivated but not work too. it show error 502 strict-origin-when-cross-origin

intraordinaire commented 5 months ago

@tone87 we have found something and are testing a workaround for this case. We will update our API / Frontend, so an update of the module will not be necessary.

We plan to release it ASAP, so tomorrow or beginning of the next week.

We'll keep you updated in order to validate everything's fine after that.

Thanks a lot for your help & patience 🙏

intraordinaire commented 5 months ago

Hi @tone87 ,

We released an update on our APP, can you test again ? 🙏

tone87 commented 5 months ago

Hi, i tried, but same error image image

intraordinaire commented 5 months ago

Ok, this action seems to be outdated now. Can you try to empty Chrome cache ?

tone87 commented 5 months ago

yes, i'm sorry , now it works ! super thanks !

intraordinaire commented 5 months ago

Wonderful ! Thanks to you !