[Skip to main content](#vessel-content)

#   Paiement CM CIC

##

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 11 months ago [\#77243](#77243) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#77243 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Bonjour,

Avez vous modifié le fichier XML comme il faut ? Il faut changer le nom des fichiers dans ce fichier.

Pour éviter d'utiliser Akeeba Subscription, vous pouvez éditer le fichier "administrator/components/com_hikashop/classes/cart.php" dans la fonction "checkSubscription()" remplacez: Code:

$dispatcher-&gt;trigger('onCheckSubscription', array( &amp;$subLevel,&amp;$subs ) ); $recurring = 0; $i = 0; if(isset($subs) &amp;&amp; !empty($subs)){ foreach($subs as $value){ if(isset($value-&gt;recurring) &amp;&amp; $value-&gt;recurring == '1'){ $durations[$i] = $value-&gt;duration; $recurring++; } $i++; } }

Par: Code:

$recurring = 1; $durations = array(); $durations[0] = 30; $i = 1;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[emohk](/forum/user/7512-emohk "View emohk's Profile")**
- [![emohk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7512-emohk "View emohk's Profile")
- [ Offline](/forum/user/7512-emohk)

Less More

- Posts: 332
- Thank you received: 4
-
-

13 years 11 months ago [\#77247](#77247) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#77247 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

OK, je vais tester
Pour le fichier xml, a priori, comme j'ai renommé tous les fichiers cmcic en ajoutant "_recurrent", dans le fichier xml, tous les fichiers ont été modifiés en conséquence :
&lt;files&gt;
&lt;filename plugin="cmcic_recurrent"&gt;cmcic_recurrent.php&lt;/filename&gt;
&lt;filename&gt;cmcic_recurrent_configuration.php&lt;/filename&gt;
&lt;filename&gt;cmcic_recurrent_end.php&lt;/filename&gt;
&lt;/files&gt;

Autre chose, peut être??

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86295
- Thank you received: 14273
-
-

13 years 11 months ago [\#77277](#77277) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#77277 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Si vous changez le nom des fichiers, il faut également changer le nom de la classe dans le fichier php ainsi que le type du plugin (cmcic) à différents endroits dans le code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[emohk](/forum/user/7512-emohk "View emohk's Profile")**
- [![emohk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7512-emohk "View emohk's Profile")
- [ Offline](/forum/user/7512-emohk)

Less More

- Posts: 332
- Thank you received: 4
-
-

13 years 11 months ago [\#77472](#77472) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#77472 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Bonjour,

Uniquement dans les fichiers php du plugin?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 11 months ago [\#77479](#77479) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#77479 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Oui dans les fichiers PHP du plugin.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[emohk](/forum/user/7512-emohk "View emohk's Profile")**
- [![emohk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7512-emohk "View emohk's Profile")
- [ Offline](/forum/user/7512-emohk)

Less More

- Posts: 332
- Thank you received: 4
-
-

13 years 11 months ago [\#77589](#77589) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#77589 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

J'ai changé le nom de la classe et le nom du plugn dans le code et j'ai toujours la même erreur, il semble que cela vienne de l'affichage des statuts (cg la copie d'écran).
[ ![CMCIC&#95;plugin.PNG](/forum/attachment/7057) ](/forum/attachment/7057 "CMCIC&#95;plugin.PNG")

- [ ![CMCIC&#95;plugin.PNG](/forum/attachment/7057) ](/forum/attachment/7057 "CMCIC&#95;plugin.PNG") [ ](/forum/attachment/7057?download=1 "CMCIC&#95;plugin.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 11 months ago [\#77694](#77694) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#77694 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Je pense que vous avez un soucis dans le fichier cmcic_recurrent.php dans la fonction "onPaymentConfiguration()" vous avez une partie qui doit être manquante, tel que: Code:

$this-&gt;category = hikashop_get('type.categorysub');

Ou quelque chose qui pointe vers le mauvais fichier,...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[emohk](/forum/user/7512-emohk "View emohk's Profile")**
- [![emohk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7512-emohk "View emohk's Profile")
- [ Offline](/forum/user/7512-emohk)

Less More

- Posts: 332
- Thank you received: 4
-
-

13 years 11 months ago [\#77731](#77731) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#77731 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Non, la ligne est bien présente telle qu'elle????

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 11 months ago [\#77739](#77739) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#77739 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Pouvez vous copier le contenu de votre fonction "onPaymentConfiguration()" ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[emohk](/forum/user/7512-emohk "View emohk's Profile")**
- [![emohk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7512-emohk "View emohk's Profile")
- [ Offline](/forum/user/7512-emohk)

Less More

- Posts: 332
- Thank you received: 4
-
-

13 years 11 months ago [\#77809](#77809) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#77809 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Bonsoir,

La voici : Code:

function onPaymentConfiguration(&amp;$element){ $this-&gt;cmcic_recurrent = JRequest::getCmd('name','cmcic_recurrent'); if(empty($element)){ $element = null; $element-&gt;payment_name='CMCIC_REC'; $element-&gt;payment_description='You can pay by credit card using this payment method'; $element-&gt;payment_images='MasterCard,VISA,Credit_card,American_Express'; $element-&gt;payment_type=$this-&gt;cmcic_recurrent; $element-&gt;payment_params=null; $element-&gt;payment_params-&gt;invalid_status='cancelled'; $element-&gt;payment_params-&gt;pending_status='created'; $element-&gt;payment_params-&gt;verified_status='confirmed'; $element = array($element); } $bar = &amp; JToolBar::getInstance('toolbar'); JToolBarHelper::save(); JToolBarHelper::apply(); JToolBarHelper::cancel(); JToolBarHelper::divider(); $bar-&gt;appendButton( 'Pophelp','payment-cmcic-form'); hikashop_setTitle('CMCIC_REC','plugin','plugins&amp;plugin_type=payment&amp;task=edit&amp;name='.$this-&gt;cmcic_recurrent); $app =&amp; JFactory::getApplication(); $app-&gt;setUserState( HIKASHOP_COMPONENT.'.payment_plugin_type', $this-&gt;cmcic_recurrent); $this-&gt;address = hikashop_get('type.address'); $this-&gt;category = hikashop_get('type.categorysub'); $this-&gt;category-&gt;type = 'status'; }

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 11 months ago [\#77853](#77853) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#77853 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Bonsoir,

Au vue de l'erreur, il semblerait que la fonction de configuration ne soit pas appelée ou qu'elle fonctionne mal.
Je remarque déjà que le code du plugin ne provient pas de la version 2.0 du plugin. Cela n'est pas forcément génant, mais le système de toolbar à changé dans HikaShop depuis la 2.0

Au niveau de votre test, merci d'ajouter un "die('test');" au début de la fonction de configuration afin de vérifier si vous passez bien à l'intérieur.
La fonction initialise la variable "category" qui est par la suite inséré dans la variable "$data" qui est plus tard, passée à la vue de configuration. Si la vue de configuration ne trouve pas l'objet "category" c'est que celui ci n'a pas été initialisé.

Cordialement,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[emohk](/forum/user/7512-emohk "View emohk's Profile")**
- [![emohk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7512-emohk "View emohk's Profile")
- [ Offline](/forum/user/7512-emohk)

Less More

- Posts: 332
- Thank you received: 4
-
-

13 years 11 months ago [\#78032](#78032) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#78032 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Bonsoir,

Au demeurant, ce que je comprend pas c'est que j'ai dupliqué "bêtement" le plugin original cmcic qui fonctionne parfaitement. Donc à priori, je ne devrais pas recontrer ce type d'erreur?
le die("test") en début de fonction onPaymentConfiguration, n'a rien changé????

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 11 months ago [\#78034](#78034) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#78034 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Bonsoir,

Il ne suffit pas de "bêtement" copier coller. Il faut aussi renommer certains éléments du plugin, comme par exemple, le nom de la classe.
Si le "die" ne fait pas un arrêt brutal de la page, on peut en conclure que la classe n'est pas chargée, donc que le nom de la classe n'est pas correct.

Cordialement,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[emohk](/forum/user/7512-emohk "View emohk's Profile")**
- [![emohk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7512-emohk "View emohk's Profile")
- [ Offline](/forum/user/7512-emohk)

Less More

- Posts: 332
- Thank you received: 4
-
-

13 years 11 months ago [\#78044](#78044) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#78044 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Bon bon, le bêtement est parfois bien approprié, comme vous êtes rapides et pertinent je vous excuse (lol).

**Résolu**, j'avais mal orthgraphié le changement du nom de la classe (comme quoi j'y avais pensé, mais avec une coquille).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[emohk](/forum/user/7512-emohk "View emohk's Profile")**
- [![emohk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7512-emohk "View emohk's Profile")
- [ Offline](/forum/user/7512-emohk)

Less More

- Posts: 332
- Thank you received: 4
-
-

13 years 11 months ago [\#78202](#78202) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#78202 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Bonjour,

Je reviens sur le message de Xavier datant de plus de 4 jours pour intégrer la modification dans la fonction "checkSubscription() du fichier "administrator/components/com_hikashop/classes/cart.php".
Actuellement je suis en 1.6.0 et je n'ai pas de référence à la fonction dans le fichier cart.php.

Merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 11 months ago [\#78207](#78207) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#78207 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Bonjour,

En effet, la gestion des paiements récurrents n'est disponible que depuis la version 2.0 d'HikaShop.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[emohk](/forum/user/7512-emohk "View emohk's Profile")**
- [![emohk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7512-emohk "View emohk's Profile")
- [ Offline](/forum/user/7512-emohk)

Less More

- Posts: 332
- Thank you received: 4
-
-

13 years 11 months ago -  13 years 11 months ago [\#78653](#78653) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#78653 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Bonsoir,

J'ai donc migré en version 2.0 et procédé aux différentes modifications proposées dans ces précédents messages. Dans la passage de caisse, bien que je n'ai qu'un seul produit récurrent, les 2 modes de paiement CM CIC sont proposés l'un pour le mode de paiement non récurrent et l'autre pour le mode de paiement récurrent. A priori dans la fonction checkSubscription doit vérifier qu'il y ait bien unicité des modes de paiement, non ???

par ailleurs, la fonction checkSubscription prend-elle en compte les variantes de produits (les niveau de souscription sont aussi définis sur les variantes)??

Autre précision : j'ai parcouru le fonction checkSubscription et la propriété $product-&gt;product_subscription_id est absente ??? Par contre, j'ai bien la propriété dans la variante (subscription_level_id = "2") indiquant que la variante est bien sur une subscription.

Merci

Last edit: 13 years 11 months ago by [emohk](/forum/user/7512-emohk "View emohk's Profile"). Reason: Nouvelle précision

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 11 months ago [\#78916](#78916) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#78916 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Bonjour,

Je pense que vos 2 moyens de paiement sont affichés à cause de l'utilisation de "product_subscription_id" alors que vous devriez en effet utiliser la variable "subscription_level_id".
Comme cette variable à une valeur != 0 alors seul le moyen de paiement récurrent devrait s'afficher.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[emohk](/forum/user/7512-emohk "View emohk's Profile")**
- [![emohk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7512-emohk "View emohk's Profile")
- [ Offline](/forum/user/7512-emohk)

Less More

- Posts: 332
- Thank you received: 4
-
-

13 years 11 months ago [\#78937](#78937) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#78937 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

OK, je vais modifier le code pour utiliser subscription_level_id. Je vous tiens au courant.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[clep](/forum/user/8944-clep "View clep's Profile")**
- [![clep's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8944-clep "View clep's Profile")
- [ Offline](/forum/user/8944-clep)

Less More

- Posts: 30
- Thank you received: 3
-
-

13 years 11 months ago [\#78967](#78967) by [clep](/forum/user/8944-clep "View clep's Profile")  Replied by *[clep](/forum/user/8944-clep "View clep's Profile")* on topic *[Paiement CM CIC](/forum/5-support-en-francais-french-support-/16686-paiement-cm-cic?start=60#78967 "Bonjour,  Etant de plus en plus partant pour Hikashop, je suis à la recherche de plugin de paiement CM CIC (Euro Information).  Voir :   www.cmcicpaiement.fr/fr/index.html  Ce type de paiement est peut être moins répandu que l'ATOS, mais il est assez utilisé.  Merci pour votre réponse")*

Bonjour,

J'ai le problème suivant :
les paiements s'effectuent bien avec le module cmcic. Quand je consulte l'interface commerçant Cmcic paiement tout est ok.... si ce n'est noté, interface retour : erreur.
Erreur qui fait que dans le backoffice d'Hikashop j'obtiens le message **commande annulée**, le client également alors qu'il est débité dans le même temps par cic.
D'où cela peut il venir ? J'ai appelé le support CIC qui me dit que le problème vient de la configuration de mon backoffice qui interprète mal les infos retournées...
Merci d'avance de votre aide précieuse.
Bruno

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTY2ODYtcGFpZW1lbnQtY20tY2ljP3N0YXJ0PTYwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.190 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
