JON2JON Posted February 19, 2014 Share Posted February 19, 2014 Bonjour, j'ai un souci avec le paiement. Je peux passer une commande sur mon site et la payer sans probleme. Par contre si derriere je veux en passer une deuxième, le site bloque sur l'acceptation des CGV et une fois celle ci cochée il rest sur "Veuillez accepter les conditions d'utilisation" une idée ? merci d'avance Link to comment Share on other sites More sharing options...
JON2JON Posted February 20, 2014 Author Share Posted February 20, 2014 personne ? Link to comment Share on other sites More sharing options...
JON2JON Posted February 20, 2014 Author Share Posted February 20, 2014 Du nouveau au cas ou... si j'enleve l'acceptation des Conditions générales de vente, ça marche... quelqu'un aurait une idée d'ou ça peut venir ? Link to comment Share on other sites More sharing options...
Gregory Roussac Posted February 21, 2014 Share Posted February 21, 2014 Bonjour, Cette case n'est pas sur cette étape sur le thème par défaut et je ne reproduis donc pas votre souci. Peut être voir avec le designer du thème ? Cordialement Link to comment Share on other sites More sharing options...
JON2JON Posted February 21, 2014 Author Share Posted February 21, 2014 Bonjour, Ah oui j'ai oublié de preciser que ça ne le faisait qu'en mode connexion. Link to comment Share on other sites More sharing options...
Yanoura Posted February 24, 2014 Share Posted February 24, 2014 Bonjour, J'avais le même souci et j'ai trouvé cette solution sur le forum j'espère que ça marchera pour toi: J'ai commenté le fichier OrderOpcController.php (dans /controller/front): protected function _getPaymentMethods() { /*if (!$this->isLogged) return '<p class="warning">'.Tools::displayError('Please sign in to see payment methods.').'</p>'; if ($this->context->cart->OrderExists()) return '<p class="warning">'.Tools::displayError('Error: This order has already been validated.').'</p>'; if (!$this->context->cart->id_customer || !Customer::customerIdExistsStatic($this->context->cart->id_customer) || Customer::isBanned($this->context->cart->id_customer)) return '<p class="warning">'.Tools::displayError('Error: No customer.').'</p>'; $address_delivery = new Address($this->context->cart->id_address_delivery); $address_invoice = ($this->context->cart->id_address_delivery == $this->context->cart->id_address_invoice ? $address_delivery : new Address($this->context->cart->id_address_invoice)); if (!$this->context->cart->id_address_delivery || !$this->context->cart->id_address_invoice || !Validate::isLoadedObject($address_delivery) || !Validate::isLoadedObject($address_invoice) || $address_invoice->deleted || $address_delivery->deleted) return '<p class="warning">'.Tools::displayError('Error: Please select an address.').'</p>'; if (count($this->context->cart->getDeliveryOptionList()) == 0 && !$this->context->cart->isVirtualCart()) { if ($this->context->cart->isMultiAddressDelivery()) return '<p class="warning">'.Tools::displayError('Error: None of your chosen carriers deliver to some of the addresses you\'ve selected.').'</p>'; else return '<p class="warning">'.Tools::displayError('Error: None of your chosen carriers deliver to the address you\'ve selected.').'</p>'; } if (!$this->context->cart->getDeliveryOption(null, false) && !$this->context->cart->isVirtualCart()) return '<p class="warning">'.Tools::displayError('Error: Please choose a carrier.').'</p>'; if (!$this->context->cart->id_currency) return '<p class="warning">'.Tools::displayError('Error: No currency has been selected.').'</p>';*/ if (!$this->context->cookie->checkedTOS && Configuration::get('PS_CONDITIONS')) return '<p class="warning">'.Tools::displayError('Please accept the Terms of Service.').'</p>'; Et maintenant les moyens de paiements s'affichent lorsque je coche la case des CGV, comme on peut le voir ici: https://www.modeandyou.com/fr/quick-order En espérant que ça aide. Bon courage 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