Skip to main content

EU zone doesn't display shiiping option

More
2 years 3 weeks ago #363021 by c-line
-- HikaShop version -- : 5.1
-- Joomla version -- : 3.0.12
-- PHP version -- : 8.1

Hello i have a problem
i add 3 shipping methode
1 manual shipping for france (works)
1 mondial relay shipping for Europe
when i set a france address i see all shipping
when i set belgium address i see mondial realy shipping
when i set an italian, german, potugal addres no shipping !!!
i don't understand why ??
thanks for any help

Please Log in or Create an account to join the conversation.

More
2 years 3 weeks ago #363022 by nicolas
Hi,

First, note that Mondial Relay is not available in Germany as far as I know.
There is a check in the Mondial Relay plugin to only display the shipping method for the countries where Mondial relay is available:
Code:
if(!in_array($country, array('FR','BE','LU','FX','AT','ES','IT','NL','PT'))) return false;
As you can see, DE (for Germany) is not in the list.
Now, IT and PT (for Italy and Portugal) are in the list. So maybe there is something else going on.
If you restricted the Mondial Relay shipping method with its "zone" setting, I would recommend not doing that. The plugin already has a check for that so it's not necessary, and, if the zones are not configured properly, it's possible that it is the cause of your problem.

Please Log in or Create an account to join the conversation.

More
2 years 3 weeks ago #363034 by c-line
i remove all limitations but nothing more same return
i checked in mondial relay config no restriction
other idea ?

Please Log in or Create an account to join the conversation.

More
2 years 3 weeks ago #363035 by nicolas
Hi,

I have no other idea. Could you provide a screenshot of the settings of the shipping method ?
Can you confirm that you have "IT" and "PT" for the Italy and Portugal country zones in the 2 letters code field of these zones in the System>Zones menu ?

Please Log in or Create an account to join the conversation.

More
2 years 3 weeks ago #363039 by c-line
here all configurations



En mode commande
belgique

italie

Please Log in or Create an account to join the conversation.

More
2 years 3 weeks ago #363042 by nicolas
Hi,

The settings look fine. So I don't see anything else.
Could it be that you have something to activate in your Mondial Relay account to be able to ship to these other countries ?
Also, trying again with the debug setting activated in your Mondial Relay shipping method might provide more information on what is going on. Could you try ?

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago - 2 years 2 weeks ago #363060 by c-line
hello
this last infos in my logs
Code:
09.05.24 11:11:13 grant_type=authorization_code&code=C21AAMYSidanuPaztsjzQ0syxJmyThcT2xyjkRLA0W4AY-1rL_ueu_LBC3sxXEdu6uIhSMWRbG4ltLlsluopCYoUvcXGEJvSg&code_verifier=9c42dce3b70ea88a2d497f1898444efe963eca7e50899d005fa801ac7227b4233cd95a 09.05.24 11:11:13 Array ( [error] => invalid_grant [error_description] => Authorization code not found in cache )
Pour infos voici les infos dans l'admin
"En Europe, la livraison à domicile est disponible à partir du 10 Juin 2024 en France et aussi proposée pour les pays suivants * : Allemagne, Autriche, Belgique, Espagne, Italie, Luxembourg, Pays-Bas et Portugal !

* à l'exception des îles et des enclaves (ex : Andorre, Jersey, Le Vatican…)"
Merci par avance
Last edit: 2 years 2 weeks ago by Jerome. Reason: ajout de [code]

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago #363077 by Jerome
Hello / Bonjour,

To be sure that it's not related to your account permissions ; I used your credentials (you can remove that screenshot, it might be better) to perform a test.
I don't know how you entered the adresse ; but for what I "copied", it works
imgur.com/a/KZcH5V3

I can perform a modification in the plugin to track all errors, including the Soap Calls.
But, if you do receive an error code (via "STAT"), it should be log.
The last message in your payment log is very old (several months), so it's complicate to investigate.

You can edit the plugin (file "mondialrelay_class.php") in order to add
Code:
hikashop_writeToLog($params, 'MondialRelay');
Just before the line
Code:
$result = $this->callSoapFunction('WSI4_PointRelais_Recherche', $params);
So you will log every calls to Mondial Relay (and we will be sure that calls for the Italy are sent or not).

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago #363081 by c-line
Quand je met l'adresse BE
Code:
Array ( [Enseigne] => CC237RBC [Pays] => BE [Ville] => [CP] => 7000 [Latitude] => [Longitude] => [Taille] => [Poids] => [Action] => [DelaiEnvoi] => 0 [RayonRecherche] => 25 [NombreResultats] => 30 [Security] => 752DE695326FE9E66474717FB7D25DE9 )
La fr
Code:
Array ( [Enseigne] => CC237RBC [Pays] => FR [Ville] => [CP] => 31200 [Latitude] => [Longitude] => [Taille] => [Poids] => [Action] => [DelaiEnvoi] => 0 [RayonRecherche] => 25 [NombreResultats] => 30 [Security] => 2E70B2502AD6C76BBF9BE472E08DCDA1 )
et quand je met mon adresse allemande ou italy il renvoit
Code:
Array ( [Enseigne] => CC237RBC [Pays] => FR [Ville] => [CP] => 31200 [Latitude] => [Longitude] => [Taille] => [Poids] => [Action] => [DelaiEnvoi] => 0 [RayonRecherche] => 25 [NombreResultats] => 30 [Security] => 2E70B2502AD6C76BBF9BE472E08DCDA1 )
j'ai essayer une autre adresse pareil
=> si je te donne l'url tu peus faire un test sur le live ?

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago #363097 by Jerome
Bonjour,

Je suis navré mais la dernière partie n'est pas cohérant.
Soit il y a un appel à l'API avec des données "valides", soit il n'y a pas d'appel.
Mais je ne vois pas en quoi un adresse allemande ou italienne va provoquer un appel sur la France.
Au contraire, je pense qu'il n'y a pas d'entrée dans le log et donc, pas d'appel ; mais cela indique que soit le plugin n'est pas appelé ; soit qu'il y a un blocage avant l'appel Soap.
Mais sachant que j'ai pu faire un appel sur l'Italie ; j'ai plutôt l'impression que le souci va être lié à un élément de configuration.

Par exemple, il est possible de modifier cette section
Code:
if(!in_array($country, array('FR','BE','LU','FX','AT','ES','IT','NL','PT'))) return false;
Afin de faire remonter un log si jamais le pays n'est pas géré par le plugin.
Code:
if(!in_array($country, array('FR','BE','LU','FX','AT','ES','IT','NL','PT'))) { hikashop_writeToLog('Pays non géré: '.print_r($country, true), 'MondialRelay'); return false; }

Cordialement,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago #363111 by c-line
je me doute que la derniere partie est pas cohérente mais c'est ce qu'il y a dans les logs ...
bon j'ai trouver dans mon plugin il y avait seulement ceci
Code:
if(!in_array($country, array('FR','BE','LU','FX'))) return false;
j'ai remplacer dans
Code:
if(!in_array($country, array('FR','BE','LU','FX','AT','ES','IT','NL','PT', 'DE'))) { hikashop_writeToLog('Pays non géré: '.print_r($country, true), 'MondialRelay'); return false; }
et maintenant c'est partout !
petite requette, ce serait possible d'ajouter l'ouverture dans une modale ? quand on veut faire une page panier en 1 seule page avec 2 colonnes la carte fait miniscule ... ce serait plus elegant

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago #363147 by Jerome
Bonjour,

Je vous invite alors à télécharger la dernière version du plugin "Mondial Relay" afin d'avoir les dernier correctifs et améliorations ; comme le support des pays supplémentaires.

C'est dommage car Nicolas avait déjà indiqué la ligne de code de gestion des différents pays dans sa toute première réponse.
www.hikashop.com/forum/install-update/90...g-option.html#363022

Concernant la sélection dans une popup ; il faut que je regarde car le système de popup dans Joomla n'est pas générique et que nous ne souhaitons pas afficher une iframe mais bien déporter du contenu HTML dans le checkout. L'autre problématique est que ce contenu dans le checkout peut être rafraichit et il faut donc pouvoir gérer la ré-initialisation d'une popup.
Bref, pas mal de choses qui demande de l'expérimentation pour s'assurer de la viabilité.
Je ne donc rien promettre, mais je vais regarder.

Cordialement,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago #363151 by c-line
cool
c'est bizarre je n'ai jamais eu de mise à jour et je ne retrouve pas ma subscription
je dois repayé le plugin ?

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago #363179 by Jerome
Bonjour,

Les plugins du marketplace ne sont pas disponible dans vos souscriptions mais directement en téléchargement avec votre commande.
www.hikashop.com/my-account/my-orders.html

Cordialement,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago #363184 by c-line
ok merci, pareil utilise l'update de joomla se serait top (quand on gere plus de 100 sites)

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago #363213 by Jerome
Bonjour,

Les dernières version des plugins vont inclure le fichier "update" pour notifier d'une mise à jour ; mais il n'est pas possible de faire la mise à jour directement depuis le backend (pour l'instant en tout cas).

Cordialement,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

More
2 years 2 weeks ago #363219 by c-line
Cool merci !

Please Log in or Create an account to join the conversation.

Time to create page: 0.263 seconds
Powered by Kunena Forum