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

#   Problème TLS 1.0 avec le plugin de paiement Stripe

##

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

Less More

- Posts: 35
- Thank you received: 2
-
-

10 years 1 month ago [\#252259](#252259) by [arnaudgautron](/forum/user/40661-arnaudgautron "View arnaudgautron's Profile")  *[Problème TLS 1.0 avec le plugin de paiement Stripe](/forum/5-support-en-francais-french-support-/886878-probleme-tls-1-0-avec-le-plugin-de-paiement-stripe#252259 "Bonjour,  j'ai intégré le plugin de paiement Stripe dernière version trouvé ici :   github.com/HikaShop/hikashoppayment-stripe  Lorsque je passe une commande de test (le site est en développement), je reçois le message d'erreur suivant : &quot;Error charge : Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at   stripe.com/blog/upgrading-tls .&quot;  D'après le forum en anglais, ce problème est censé avoir été résolu ! Mais il se produit encore chez moi malgré l'utilisation de la dernière version du plugin. Quelqu'un peut-il m'aider ? Merci par avance  Arnaud")* was created by *[arnaudgautron](/forum/user/40661-arnaudgautron "View arnaudgautron's Profile")*

Bonjour,

j'ai intégré le plugin de paiement Stripe dernière version trouvé ici : [ github.com/HikaShop/hikashoppayment-stripe](https://github.com/HikaShop/hikashoppayment-stripe)

Lorsque je passe une commande de test (le site est en développement), je reçois le message d'erreur suivant :
"Error charge : Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at [ stripe.com/blog/upgrading-tls](https://stripe.com/blog/upgrading-tls)."

D'après le forum en anglais, ce problème est censé avoir été résolu ! Mais il se produit encore chez moi malgré l'utilisation de la dernière version du plugin. Quelqu'un peut-il m'aider ? Merci par avance

Arnaud

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

10 years 1 month ago [\#252261](#252261) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problème TLS 1.0 avec le plugin de paiement Stripe](/forum/5-support-en-francais-french-support-/886878-probleme-tls-1-0-avec-le-plugin-de-paiement-stripe#252261 "Bonjour,  j'ai intégré le plugin de paiement Stripe dernière version trouvé ici :   github.com/HikaShop/hikashoppayment-stripe  Lorsque je passe une commande de test (le site est en développement), je reçois le message d'erreur suivant : &quot;Error charge : Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at   stripe.com/blog/upgrading-tls .&quot;  D'après le forum en anglais, ce problème est censé avoir été résolu ! Mais il se produit encore chez moi malgré l'utilisation de la dernière version du plugin. Quelqu'un peut-il m'aider ? Merci par avance  Arnaud")*

Bonjour,

En récupérant le plugin stripe via github, vous avez directement une version récente de la librairie Stripe (3.21.0).
[ github.com/HikaShop/hikashoppayment-stripe/releases](https://github.com/HikaShop/hikashoppayment-stripe/releases)

Nous avons justement fait cette version spécifique du plugin afin de proposer ce qui était la dernière version en date de la librairie Stripe.
Merci de vous assurer que les fichiers sont bien à jour sur votre site ; car j'avoue ne pas comprendre pourquoi vous avez ce message alors que la librairie est bien supérieur à la version "3.19.0".
Merci donc de regarder du côté de votre serveur, comme expliqué dans cette page de documentation de stripe :
[ support.stripe.com/questions/how-do-i-up...s-1-0-to-tls-1-2#php](https://support.stripe.com/questions/how-do-i-upgrade-my-stripe-integration-from-tls-1-0-to-tls-1-2#php)

Cordialement,

---

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

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

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

Less More

- Posts: 35
- Thank you received: 2
-
-

10 years 1 month ago [\#252447](#252447) by [arnaudgautron](/forum/user/40661-arnaudgautron "View arnaudgautron's Profile")  Replied by *[arnaudgautron](/forum/user/40661-arnaudgautron "View arnaudgautron's Profile")* on topic *[Problème TLS 1.0 avec le plugin de paiement Stripe](/forum/5-support-en-francais-french-support-/886878-probleme-tls-1-0-avec-le-plugin-de-paiement-stripe#252447 "Bonjour,  j'ai intégré le plugin de paiement Stripe dernière version trouvé ici :   github.com/HikaShop/hikashoppayment-stripe  Lorsque je passe une commande de test (le site est en développement), je reçois le message d'erreur suivant : &quot;Error charge : Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at   stripe.com/blog/upgrading-tls .&quot;  D'après le forum en anglais, ce problème est censé avoir été résolu ! Mais il se produit encore chez moi malgré l'utilisation de la dernière version du plugin. Quelqu'un peut-il m'aider ? Merci par avance  Arnaud")*

Merci pour votre réponse.

Dans le doute, j'ai réinstallé le plugin et vidé les caches.
J'ai toujours le même problème.

En revanche, je ne sais pas où mettre le code php indiqué ici ([ support.stripe.com/questions/how-do-i-up...s-1-0-to-tls-1-2#php](https://support.stripe.com/questions/how-do-i-upgrade-my-stripe-integration-from-tls-1-0-to-tls-1-2#php)). J'ai essayé dans plugins/hikashoppayment/stripe.php mais ça génère une page blanche (erreur PHP) et je ne suis pas assez calé en php pour comprendre ce qui se passe.

Merci de m'aider !

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

10 years 1 month ago -  10 years 1 month ago [\#252457](#252457) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Problème TLS 1.0 avec le plugin de paiement Stripe](/forum/5-support-en-francais-french-support-/886878-probleme-tls-1-0-avec-le-plugin-de-paiement-stripe#252457 "Bonjour,  j'ai intégré le plugin de paiement Stripe dernière version trouvé ici :   github.com/HikaShop/hikashoppayment-stripe  Lorsque je passe une commande de test (le site est en développement), je reçois le message d'erreur suivant : &quot;Error charge : Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at   stripe.com/blog/upgrading-tls .&quot;  D'après le forum en anglais, ce problème est censé avoir été résolu ! Mais il se produit encore chez moi malgré l'utilisation de la dernière version du plugin. Quelqu'un peut-il m'aider ? Merci par avance  Arnaud")*

Bonjour,

Quand vous dites avoir ré-installer le plugin vous avez bien utiliser celui fournit ici :
**[ github.com/HikaShop/hikashoppayment-stripe/releases](https://github.com/HikaShop/hikashoppayment-stripe/releases)**

Pour réaliser le test auquel vous invite le support stripe, dans votre fichier **stripe.php**, et plus précisement dans la fonction **onPaymentDisplay** autour de la ligne **71**. Code:

... function onPaymentDisplay(&amp;$order, &amp;$methods, &amp;$usable_methods) { /* ADD THE TEST CODE HERE */ if(!$this-&gt;init()) return false; return parent::onPaymentDisplay($order, $methods, $usable_methods); } ...

**ADD THIS CODE IN ORDER TO WORK ON HIKASHOP :**Code:

... // Include stripe-php as you usually do, either with composer as shown, // or with a direct require, as commented out. require_once("lib/Stripe.php"); // require_once("/path/to/stripe-php/init.php"); \Stripe\Stripe::setApiKey("sk_test_BQokikJOvBiI2HlWgH4olfQ2"); \Stripe\Stripe::$apiBase = "https://api-tls12.stripe.com"; try { \Stripe\Charge::all(); echo "TLS 1.2 supported, no action required."; } catch (\Stripe\Error\ApiConnection $e) { echo "TLS 1.2 is not supported. You will need to upgrade your integration."; } ...

Notez la difference avec le code fournit pour le test par **Stripe** (après la ligne 2), notre version : ***require\_once("lib/Stripe.php");* VS** ***require\_once("vendor/autoload.php");*** (pour le support Stripe)

En espérant que cela vous aide.

Cordialement.

Last edit: 10 years 1 month ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

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

Less More

- Posts: 35
- Thank you received: 2
-
-

10 years 1 month ago -  10 years 1 month ago [\#252526](#252526) by [arnaudgautron](/forum/user/40661-arnaudgautron "View arnaudgautron's Profile")  Replied by *[arnaudgautron](/forum/user/40661-arnaudgautron "View arnaudgautron's Profile")* on topic *[Problème TLS 1.0 avec le plugin de paiement Stripe](/forum/5-support-en-francais-french-support-/886878-probleme-tls-1-0-avec-le-plugin-de-paiement-stripe#252526 "Bonjour,  j'ai intégré le plugin de paiement Stripe dernière version trouvé ici :   github.com/HikaShop/hikashoppayment-stripe  Lorsque je passe une commande de test (le site est en développement), je reçois le message d'erreur suivant : &quot;Error charge : Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at   stripe.com/blog/upgrading-tls .&quot;  D'après le forum en anglais, ce problème est censé avoir été résolu ! Mais il se produit encore chez moi malgré l'utilisation de la dernière version du plugin. Quelqu'un peut-il m'aider ? Merci par avance  Arnaud")*

Oui, je vous confirme que j'ai bien téléchargé le plugin à l'adresse indiquée sur GitHub.
Par ailleurs, j'ai inséré le code dans le fichier stripe.php.

La fonction onPaymentDisplay ressemble maintenant à ça : Code:

public function onPaymentDisplay(&amp;$order, &amp;$methods, &amp;$usable_methods) { if(!$this-&gt;init()) return false; return parent::onPaymentDisplay($order, $methods, $usable_methods); // Include stripe-php as you usually do, either with composer as shown, // or with a direct require, as commented out. require_once("lib/Stripe.php"); // require_once("/path/to/stripe-php/init.php"); \Stripe\Stripe::setApiKey("sk_test_BQokikJOvBiI2HlWgH4olfQ2"); \Stripe\Stripe::$apiBase = "https://api-tls12.stripe.com"; try { \Stripe\Charge::all(); echo "TLS 1.2 supported, no action required."; } catch (\Stripe\Error\ApiConnection $e) { echo "TLS 1.2 is not supported. You will need to upgrade your integration."; } }

Sur mon serveur local (MAMP, MacOS), ça ne change strictement rien et aucun des deux messages ne s'affiche dans le processus d'achat.
Sur le serveur de test, ça ne marche pas non plus : j'ai toujours le message d'erreur après avoir saisi les données de la carte bancaire et aucun des deux message du test ne s'affiche !

J'avoue que je ne comprends pas non plus ce qui peut se passer !!!

Merci.
Arnaud

Last edit: 10 years 1 month ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: [code] is nice

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

10 years 1 month ago [\#252527](#252527) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problème TLS 1.0 avec le plugin de paiement Stripe](/forum/5-support-en-francais-french-support-/886878-probleme-tls-1-0-avec-le-plugin-de-paiement-stripe#252527 "Bonjour,  j'ai intégré le plugin de paiement Stripe dernière version trouvé ici :   github.com/HikaShop/hikashoppayment-stripe  Lorsque je passe une commande de test (le site est en développement), je reçois le message d'erreur suivant : &quot;Error charge : Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at   stripe.com/blog/upgrading-tls .&quot;  D'après le forum en anglais, ce problème est censé avoir été résolu ! Mais il se produit encore chez moi malgré l'utilisation de la dernière version du plugin. Quelqu'un peut-il m'aider ? Merci par avance  Arnaud")*

Bonjour,

Si vous regardez attentivement le message de Philippe, il vous indique ou vous devez **exactement** poser le code. Code:

function onPaymentDisplay(&amp;$order, &amp;$methods, &amp;$usable_methods) { /* ADD THE TEST CODE HERE */ if(!$this-&gt;init()) return false; return parent::onPaymentDisplay($order, $methods, $usable_methods); }

Si vous regardez votre code dans votre dernier message ; vous remarquerez que ; votre code ne respecte pas les indications données précédemment.

Merci donc de suivre les indications à la lettre et à la virgule près.

---

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

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

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

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

Less More

- Posts: 35
- Thank you received: 2
-
-

10 years 1 month ago [\#252594](#252594) by [arnaudgautron](/forum/user/40661-arnaudgautron "View arnaudgautron's Profile")  Replied by *[arnaudgautron](/forum/user/40661-arnaudgautron "View arnaudgautron's Profile")* on topic *[Problème TLS 1.0 avec le plugin de paiement Stripe](/forum/5-support-en-francais-french-support-/886878-probleme-tls-1-0-avec-le-plugin-de-paiement-stripe#252594 "Bonjour,  j'ai intégré le plugin de paiement Stripe dernière version trouvé ici :   github.com/HikaShop/hikashoppayment-stripe  Lorsque je passe une commande de test (le site est en développement), je reçois le message d'erreur suivant : &quot;Error charge : Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at   stripe.com/blog/upgrading-tls .&quot;  D'après le forum en anglais, ce problème est censé avoir été résolu ! Mais il se produit encore chez moi malgré l'utilisation de la dernière version du plugin. Quelqu'un peut-il m'aider ? Merci par avance  Arnaud")*

Merci.

Je reconnais que j'avais lu trop vite la recommandation de Philippe.
J'ai changé le code et le message suivant s'affiche au moment de choisir le mode de paiement :
"TLS 1.2 is not supported. You will need to upgrade your integration."

Ca confirme le problème !

Dans mon backend, le plugin a une apparence un peu bizarre que je n'ai jamais vue sur une extension Joomla!. Est-ce que ça peut expliquer le problème ?
[ ![Capturedecran2016-10-16a16.48.21.png](/forum/attachment/34020) ](/forum/attachment/34020 "...6a16.48.21.png")

Dois-je tester le plugin sur une installation vierge d'Hikashop ?
Est-ce que le problème peut venir du fait que j'avais installé une première version du plugin plus ancienne ? Je l'ai pourtant désinstallé avant de réinstaller la version plus récente...

Est-ce que le problème vient de la configuration de mon site ? configuration.php ?
Je teste en local (MAMP sur MacOS avec PHP 5.5.10) et sur le serveur de dev (OVH, PHP 5.6).

Merci !

- [ ![Capturedecran2016-10-16a16.48.21.png](/forum/attachment/34020) ](/forum/attachment/34020 "...6a16.48.21.png") [ ](/forum/attachment/34020?download=1 "...6a16.48.21.png")

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

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

Less More

- Posts: 35
- Thank you received: 2
-
-

10 years 1 month ago [\#252597](#252597) by [arnaudgautron](/forum/user/40661-arnaudgautron "View arnaudgautron's Profile")  Replied by *[arnaudgautron](/forum/user/40661-arnaudgautron "View arnaudgautron's Profile")* on topic *[Problème TLS 1.0 avec le plugin de paiement Stripe](/forum/5-support-en-francais-french-support-/886878-probleme-tls-1-0-avec-le-plugin-de-paiement-stripe#252597 "Bonjour,  j'ai intégré le plugin de paiement Stripe dernière version trouvé ici :   github.com/HikaShop/hikashoppayment-stripe  Lorsque je passe une commande de test (le site est en développement), je reçois le message d'erreur suivant : &quot;Error charge : Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at   stripe.com/blog/upgrading-tls .&quot;  D'après le forum en anglais, ce problème est censé avoir été résolu ! Mais il se produit encore chez moi malgré l'utilisation de la dernière version du plugin. Quelqu'un peut-il m'aider ? Merci par avance  Arnaud")*

Je viens de créer un nouveau site en local (Joomla 3.6.2, Hikashop Essential) et d'installer le plugin Stripe (dernière version). La mise en place de la procédure d'achat produit le même message d'erreur... Est-ce que d'autres personnes que moi ont signalé le problème ? Est-ce que ça peut venir d'une nouvelle évolution côté Stripe ?

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

10 years 1 month ago [\#252601](#252601) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problème TLS 1.0 avec le plugin de paiement Stripe](/forum/5-support-en-francais-french-support-/886878-probleme-tls-1-0-avec-le-plugin-de-paiement-stripe#252601 "Bonjour,  j'ai intégré le plugin de paiement Stripe dernière version trouvé ici :   github.com/HikaShop/hikashoppayment-stripe  Lorsque je passe une commande de test (le site est en développement), je reçois le message d'erreur suivant : &quot;Error charge : Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at   stripe.com/blog/upgrading-tls .&quot;  D'après le forum en anglais, ce problème est censé avoir été résolu ! Mais il se produit encore chez moi malgré l'utilisation de la dernière version du plugin. Quelqu'un peut-il m'aider ? Merci par avance  Arnaud")*

Bonjour,

Comme indiqué dans nos précédent message, la librairie Stripe est déjà sur une version récente.
Et avant de vous envoyé le message, Philippe a effectué des tests sur son site local et il n'a eu aucun soucis à établir une connexion en TLS1.2 avec Stripe via le code qu'il vous a fournis.

Donc merci de lire attentivement tous nos messages :

> Merci donc de regarder du côté de votre serveur, comme expliqué dans cette page de documentation de stripe :
> [ support.stripe.com/questions/how-do-i-up...s-1-0-to-tls-1-2#php](https://support.stripe.com/questions/how-do-i-upgrade-my-stripe-integration-from-tls-1-0-to-tls-1-2#php)

Car il est écris dans cette page de documentation :

> If you receive the message “TLS 1.2 is supported”, no changes need to be made. If not, check which version of our PHP library you are using. If it’s below 3.19.0, update it and try again. **Otherwise, continue with these additional steps**.

Cordialement,

---

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

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

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

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

Less More

- Posts: 35
- Thank you received: 2
-
-

10 years 1 month ago [\#252625](#252625) by [arnaudgautron](/forum/user/40661-arnaudgautron "View arnaudgautron's Profile")  Replied by *[arnaudgautron](/forum/user/40661-arnaudgautron "View arnaudgautron's Profile")* on topic *[Problème TLS 1.0 avec le plugin de paiement Stripe](/forum/5-support-en-francais-french-support-/886878-probleme-tls-1-0-avec-le-plugin-de-paiement-stripe#252625 "Bonjour,  j'ai intégré le plugin de paiement Stripe dernière version trouvé ici :   github.com/HikaShop/hikashoppayment-stripe  Lorsque je passe une commande de test (le site est en développement), je reçois le message d'erreur suivant : &quot;Error charge : Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at   stripe.com/blog/upgrading-tls .&quot;  D'après le forum en anglais, ce problème est censé avoir été résolu ! Mais il se produit encore chez moi malgré l'utilisation de la dernière version du plugin. Quelqu'un peut-il m'aider ? Merci par avance  Arnaud")*

Merci Jérôme.
Je crois qu'on ne se comprend pas.
Voilà précisément ce que j'ai fait :
- sur mon serveur local, site en développement (Hikashop Essential 2.6.4, Joomla 3.6.2, PHP 5.5.10), j'ai installé le DERNIER PLUGIN de paiement Stripe fourni sur GitHub
- j'ai fait l'insertion du code de test fourni par Stripe, modifié exactement selon les indications de Philippe
- lors du passage en caisse, le message "TLS 1.2 is not supported. You will need to upgrade your integration." s'affiche.

Pour vérifier que ce n'était pas lié au site de développement ou à mon template, j'ai installé le plugin sur un Hikashop "vierge" et je reçois le même message d'erreur.

Je ne vois pas ce que j'ai raté dans les instructions données.

Merci.

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

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

Less More

- Posts: 35
- Thank you received: 2
-
-

10 years 1 month ago [\#252628](#252628) by [arnaudgautron](/forum/user/40661-arnaudgautron "View arnaudgautron's Profile")  Replied by *[arnaudgautron](/forum/user/40661-arnaudgautron "View arnaudgautron's Profile")* on topic *[Problème TLS 1.0 avec le plugin de paiement Stripe](/forum/5-support-en-francais-french-support-/886878-probleme-tls-1-0-avec-le-plugin-de-paiement-stripe#252628 "Bonjour,  j'ai intégré le plugin de paiement Stripe dernière version trouvé ici :   github.com/HikaShop/hikashoppayment-stripe  Lorsque je passe une commande de test (le site est en développement), je reçois le message d'erreur suivant : &quot;Error charge : Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at   stripe.com/blog/upgrading-tls .&quot;  D'après le forum en anglais, ce problème est censé avoir été résolu ! Mais il se produit encore chez moi malgré l'utilisation de la dernière version du plugin. Quelqu'un peut-il m'aider ? Merci par avance  Arnaud")*

Je viens de mettre à jour MAMP et de passer à la version 4.
Ca a l'air de marcher !
Merci pour votre aide, et désolé d'avoir été un peu long à comprendre...

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

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

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

Less More

- Posts: 35
- Thank you received: 2
-
-

10 years 1 month ago [\#252675](#252675) by [arnaudgautron](/forum/user/40661-arnaudgautron "View arnaudgautron's Profile")  Replied by *[arnaudgautron](/forum/user/40661-arnaudgautron "View arnaudgautron's Profile")* on topic *[Problème TLS 1.0 avec le plugin de paiement Stripe](/forum/5-support-en-francais-french-support-/886878-probleme-tls-1-0-avec-le-plugin-de-paiement-stripe#252675 "Bonjour,  j'ai intégré le plugin de paiement Stripe dernière version trouvé ici :   github.com/HikaShop/hikashoppayment-stripe  Lorsque je passe une commande de test (le site est en développement), je reçois le message d'erreur suivant : &quot;Error charge : Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at   stripe.com/blog/upgrading-tls .&quot;  D'après le forum en anglais, ce problème est censé avoir été résolu ! Mais il se produit encore chez moi malgré l'utilisation de la dernière version du plugin. Quelqu'un peut-il m'aider ? Merci par avance  Arnaud")*

Je viens de contacter mon hébergeur pour finaliser la procédure : LE PROBLEME VENAIT DE LA CONFIGURATION DE MON ENVIRONNEMENT D'EXECUTION (Legacy vs. Stable chez OVH). TLS 1.2 n'était donc actif ni en local, ni sur le serveur de test, d'où mon problème.
Merci pour votre aide, le problème est résolu.
Et bravo pour Hikashop !

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

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