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

#   Paiement en N fois avec SIPS/ATOS

##

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

Less More

- Posts: 8
- Thank you received: 5
-
-

11 years 5 months ago [\#202913](#202913) by [bbilly](/forum/user/32153-bbilly "View bbilly's Profile")  *[Paiement en N fois avec SIPS/ATOS](/forum/5-support-en-francais-french-support-/877184-paiement-en-n-fois-avec-sips-atos#202913 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- Browser(s) name and version -- : CHROME 43  Bonjour,  Je viens de m'apercevoir d'un bug avec le module de paiement SIPS ATOS. Quand on active le paiement en plusieurs fois, lors du choix de la méthode de paiement, il faut valider 2 fois le passage en caisse pour être redirigé vers la page de paiement. En regardant un peu le code, je pense que ça vient de la fonction needCC qui permet notamment de rajouter du code HTML. Autre remarque, quand je choisis un autre moyen de paiement, la page se rafraîchit alors qu'avec SIPS, il n'y a pas de rafraichissement (si paiement en plusieurs fois activé).  Avez-vous une idée de ce qui se passe ?  Merci de votre aide")* was created by *[bbilly](/forum/user/32153-bbilly "View bbilly's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- Browser(s) name and version -- : CHROME 43

Bonjour,

Je viens de m'apercevoir d'un bug avec le module de paiement SIPS ATOS. Quand on active le paiement en plusieurs fois, lors du choix de la méthode de paiement, il faut valider 2 fois le passage en caisse pour être redirigé vers la page de paiement. En regardant un peu le code, je pense que ça vient de la fonction needCC qui permet notamment de rajouter du code HTML.
Autre remarque, quand je choisis un autre moyen de paiement, la page se rafraîchit alors qu'avec SIPS, il n'y a pas de rafraichissement (si paiement en plusieurs fois activé).

Avez-vous une idée de ce qui se passe ?

Merci de votre aide

- [ ![sips&#95;atos.jpg](/forum/attachment/24626) ](/forum/attachment/24626 "sips&#95;atos.jpg") [ ](/forum/attachment/24626?download=1 "sips&#95;atos.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc3MTg0LXBhaWVtZW50LWVuLW4tZm9pcy1hdmVjLXNpcHMtYXRvcz90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14270
-
-

11 years 5 months ago [\#202919](#202919) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Paiement en N fois avec SIPS/ATOS](/forum/5-support-en-francais-french-support-/877184-paiement-en-n-fois-avec-sips-atos#202919 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- Browser(s) name and version -- : CHROME 43  Bonjour,  Je viens de m'apercevoir d'un bug avec le module de paiement SIPS ATOS. Quand on active le paiement en plusieurs fois, lors du choix de la méthode de paiement, il faut valider 2 fois le passage en caisse pour être redirigé vers la page de paiement. En regardant un peu le code, je pense que ça vient de la fonction needCC qui permet notamment de rajouter du code HTML. Autre remarque, quand je choisis un autre moyen de paiement, la page se rafraîchit alors qu'avec SIPS, il n'y a pas de rafraichissement (si paiement en plusieurs fois activé).  Avez-vous une idée de ce qui se passe ?  Merci de votre aide")*

Bonjour,

En effet, l'auto submit n'est pas géré lorsque cette option est activée.
Changez le code: Code:

$method-&gt;custom_html='&lt;span style="margin-left:10%"&gt;'.JHTML::_('hikaselect.booleanlist', "hikashop_multiple_instalments", '', '', JText::sprintf( 'PAYMENT_IN_X_TIME' , $method-&gt;payment_params-&gt;instalments ), JText::sprintf( 'PAY_FULL_ORDER' , '1') ).'&lt;/span&gt;';

en: Code:

$onclick = ''; $config = hikashop_config(); if($config-&gt;get('auto_submit_methods',1)){ $onclick = ' onclick="this.form.action=this.form.action+\'#hikashop_payment_methods\';this.form.submit(); return false;"'; } $method-&gt;custom_html='&lt;span style="margin-left:10%"&gt;'.JHTML::_('hikaselect.booleanlist', "hikashop_multiple_instalments", '', $onclick, JText::sprintf( 'PAYMENT_IN_X_TIME' , $method-&gt;payment_params-&gt;instalments ), JText::sprintf( 'PAY_FULL_ORDER' , '1') ).'&lt;/span&gt;';

dans le fichier plugins/hikashoppayment/atos/atos.php et cela devrait résoudre le problème.

The following user(s) said Thank You: [bbilly](/forum/user/32153-bbilly "View bbilly's Profile")

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

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

Less More

- Posts: 8
- Thank you received: 5
-
-

11 years 5 months ago -  11 years 5 months ago [\#203009](#203009) by [bbilly](/forum/user/32153-bbilly "View bbilly's Profile")  Replied by *[bbilly](/forum/user/32153-bbilly "View bbilly's Profile")* on topic *[Paiement en N fois avec SIPS/ATOS](/forum/5-support-en-francais-french-support-/877184-paiement-en-n-fois-avec-sips-atos#203009 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- Browser(s) name and version -- : CHROME 43  Bonjour,  Je viens de m'apercevoir d'un bug avec le module de paiement SIPS ATOS. Quand on active le paiement en plusieurs fois, lors du choix de la méthode de paiement, il faut valider 2 fois le passage en caisse pour être redirigé vers la page de paiement. En regardant un peu le code, je pense que ça vient de la fonction needCC qui permet notamment de rajouter du code HTML. Autre remarque, quand je choisis un autre moyen de paiement, la page se rafraîchit alors qu'avec SIPS, il n'y a pas de rafraichissement (si paiement en plusieurs fois activé).  Avez-vous une idée de ce qui se passe ?  Merci de votre aide")*

Merci de votre réactivité,

c'est exactement ce que je voulais et ça fonctionne !

A bientôt

Last edit: 11 years 5 months ago by [bbilly](/forum/user/32153-bbilly "View bbilly's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc3MTg0LXBhaWVtZW50LWVuLW4tZm9pcy1hdmVjLXNpcHMtYXRvcz90bXBsPW1hcmtkb3du) 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.173 seconds

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

[](#top)
