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

#   probleme API paiement + proxy

##

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

Less More

- Posts: 98
- Thank you received: 6
-
-

12 years 1 month ago [\#175135](#175135) by [antidotcom](/forum/user/32815-antidotcom "View antidotcom's Profile")  *[probleme API paiement + proxy](/forum/29-payment-methods/872236-probleme-api-paiement-proxy#175135 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : all  Bonjour,  sur la boutique que nous avons mis en place pour un client tout fonctionne bien sauf pour certains clients derrière un &quot;proxy&quot;. au moment de valider on a un message &quot;probleme api paiement invalid keyword in parameter (+ une adresse IP).  Nous utilisons ATOS comme API. Avez vous une solution à nous proposer?  merci d'avance")* was created by *[antidotcom](/forum/user/32815-antidotcom "View antidotcom's Profile")*

-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.9
-- Browser(s) name and version -- : all

Bonjour,

sur la boutique que nous avons mis en place pour un client tout fonctionne bien sauf pour certains clients derrière un "proxy". au moment de valider on a un message "probleme api paiement invalid keyword in parameter (+ une adresse IP).

Nous utilisons ATOS comme API.
Avez vous une solution à nous proposer?

merci d'avance

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzIyMzYtcHJvYmxlbWUtYXBpLXBhaWVtZW50LXByb3h5P3RtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

12 years 1 month ago [\#175140](#175140) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[probleme API paiement + proxy](/forum/29-payment-methods/872236-probleme-api-paiement-proxy#175140 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : all  Bonjour,  sur la boutique que nous avons mis en place pour un client tout fonctionne bien sauf pour certains clients derrière un &quot;proxy&quot;. au moment de valider on a un message &quot;probleme api paiement invalid keyword in parameter (+ une adresse IP).  Nous utilisons ATOS comme API. Avez vous une solution à nous proposer?  merci d'avance")*

Bonjour,

Il s'agit d'un système de sécurité de la plateform ATOS mais elle possède différent soucis comme une non gestion de l'IPv6.
Du coup, nous avons une ligne dans HikaShop pour ne pas passer l'IP si celle ci est au format IPv6 ; dans votre cas je vous recommande de tout simplement supprimer la ligne.

Vous pouvez donc modifier le fichier (ou créer un override afin de ne pas avoir de soucis avec les mises à jour) de la "atos_end.php"
fichier : plugins/hikashoppayment/atos/atos_end.php
override à créer : template/your_frontend_template/hikashoppayment/atos/atos_end.php

Et supprimer la ligne : Code:

if(strpos($this-&gt;vars["customer_ip"],':') === false) $parm.=" customer_ip_address=".$this-&gt;vars["customer_ip"];

Cordialement,

---

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

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

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

Less More

- Posts: 98
- Thank you received: 6
-
-

12 years 1 month ago [\#175809](#175809) by [antidotcom](/forum/user/32815-antidotcom "View antidotcom's Profile")  Replied by *[antidotcom](/forum/user/32815-antidotcom "View antidotcom's Profile")* on topic *[probleme API paiement + proxy](/forum/29-payment-methods/872236-probleme-api-paiement-proxy#175809 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : all  Bonjour,  sur la boutique que nous avons mis en place pour un client tout fonctionne bien sauf pour certains clients derrière un &quot;proxy&quot;. au moment de valider on a un message &quot;probleme api paiement invalid keyword in parameter (+ une adresse IP).  Nous utilisons ATOS comme API. Avez vous une solution à nous proposer?  merci d'avance")*

Bonjour,

merci pour ces indications.

Effacer la ligne dans le fichier fonctionne très bien.
En revanche la solution de l'over-ride dans le dossier template, ne fonctionne pas. (template yootheme)
Avez vous une autre solution ou un autre emplacement à nous conseiller pour qu'effectivement nous puissions utiliser un système d'over- ride qui nous permettra de faire des mises à jour sans avoir à refaire la manip à chaque fois?

Merci d'avance

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzIyMzYtcHJvYmxlbWUtYXBpLXBhaWVtZW50LXByb3h5P3RtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

12 years 4 weeks ago [\#175875](#175875) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[probleme API paiement + proxy](/forum/29-payment-methods/872236-probleme-api-paiement-proxy#175875 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : all  Bonjour,  sur la boutique que nous avons mis en place pour un client tout fonctionne bien sauf pour certains clients derrière un &quot;proxy&quot;. au moment de valider on a un message &quot;probleme api paiement invalid keyword in parameter (+ une adresse IP).  Nous utilisons ATOS comme API. Avez vous une solution à nous proposer?  merci d'avance")*

Bonjour,

Au temps pour moi, c'est "template/your_frontend_template/hikashoppayment/atos_end.php"
J'ai relu trop rapidement le code.

Cordialement,

---

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

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

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