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

#   Forcer Paypal en FR

##

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

Less More

- Posts: 2705
- Thank you received: 74
-
-

13 years 1 month ago [\#125991](#125991) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  *[Forcer Paypal en FR](/forum/5-support-en-francais-french-support-/862486-forcer-paypal-en-fr#125991 "-- HikaShop version -- : 221 -- Joomla version -- : 2514  J'ai Paypal (...../www.paypal.com/cgi-bin/webscr) qui affiche irrégulièrement en FR ou EN alors que la langue du site est uniquement en FR sans choix de changement Comment puis je forcer paypal en FR ? avec quelle variable ? dans plugins/hikashoppayment/paypal/paypal.php je trouve  $notify&#95;url = HIKASHOP&#95;LIVE.'index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif&#95;payment='.$this-&gt;name.'&amp;tmpl=component&amp;lang='.$this-&gt;locale . $this-&gt;url&#95;itemid;  et plus loin  $lang = JFactory::getLanguage(); $locale = strtolower(substr($lang-&gt;get('tag'), 0, 2));  merci")* was created by *[erickb](/forum/user/4069-erickb "View erickb's Profile")*

-- HikaShop version -- : 221
-- Joomla version -- : 2514

J'ai Paypal (...../www.paypal.com/cgi-bin/webscr) qui affiche irrégulièrement en FR ou EN alors que la langue du site est uniquement en FR sans choix de changement
Comment puis je forcer paypal en FR ? avec quelle variable ?
dans plugins/hikashoppayment/paypal/paypal.php je trouve

$notify_url = HIKASHOP_LIVE.'index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif_payment='.$this-&gt;name.'&amp;tmpl=component&amp;**lang='.$this-&gt;locale . $this-&gt;url\_itemid**;

et plus loin

$lang = JFactory::getLanguage();
$locale = strtolower(substr($lang-&gt;get('tag'), 0, 2));

merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODYyNDg2LWZvcmNlci1wYXlwYWwtZW4tZnI/dG1wbD1tYXJrZG93bg==) 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)
-

13 years 1 month ago [\#126011](#126011) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Forcer Paypal en FR](/forum/5-support-en-francais-french-support-/862486-forcer-paypal-en-fr#126011 "-- HikaShop version -- : 221 -- Joomla version -- : 2514  J'ai Paypal (...../www.paypal.com/cgi-bin/webscr) qui affiche irrégulièrement en FR ou EN alors que la langue du site est uniquement en FR sans choix de changement Comment puis je forcer paypal en FR ? avec quelle variable ? dans plugins/hikashoppayment/paypal/paypal.php je trouve  $notify&#95;url = HIKASHOP&#95;LIVE.'index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif&#95;payment='.$this-&gt;name.'&amp;tmpl=component&amp;lang='.$this-&gt;locale . $this-&gt;url&#95;itemid;  et plus loin  $lang = JFactory::getLanguage(); $locale = strtolower(substr($lang-&gt;get('tag'), 0, 2));  merci")*

Bonjour,

L'url de notification est uniquement pour HikaShop, cela n'influs donc pas le comportement de paypal.
Paypal s'occupe lui même de déterminer la langue à afficher.

Cordialement,

---

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

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

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

Less More

- Posts: 2705
- Thank you received: 74
-
-

13 years 1 month ago [\#126012](#126012) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[Forcer Paypal en FR](/forum/5-support-en-francais-french-support-/862486-forcer-paypal-en-fr#126012 "-- HikaShop version -- : 221 -- Joomla version -- : 2514  J'ai Paypal (...../www.paypal.com/cgi-bin/webscr) qui affiche irrégulièrement en FR ou EN alors que la langue du site est uniquement en FR sans choix de changement Comment puis je forcer paypal en FR ? avec quelle variable ? dans plugins/hikashoppayment/paypal/paypal.php je trouve  $notify&#95;url = HIKASHOP&#95;LIVE.'index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif&#95;payment='.$this-&gt;name.'&amp;tmpl=component&amp;lang='.$this-&gt;locale . $this-&gt;url&#95;itemid;  et plus loin  $lang = JFactory::getLanguage(); $locale = strtolower(substr($lang-&gt;get('tag'), 0, 2));  merci")*

ok merci

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

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

Less More

- Posts: 2705
- Thank you received: 74
-
-

13 years 1 month ago -  13 years 1 month ago [\#126025](#126025) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[Forcer Paypal en FR](/forum/5-support-en-francais-french-support-/862486-forcer-paypal-en-fr#126025 "-- HikaShop version -- : 221 -- Joomla version -- : 2514  J'ai Paypal (...../www.paypal.com/cgi-bin/webscr) qui affiche irrégulièrement en FR ou EN alors que la langue du site est uniquement en FR sans choix de changement Comment puis je forcer paypal en FR ? avec quelle variable ? dans plugins/hikashoppayment/paypal/paypal.php je trouve  $notify&#95;url = HIKASHOP&#95;LIVE.'index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif&#95;payment='.$this-&gt;name.'&amp;tmpl=component&amp;lang='.$this-&gt;locale . $this-&gt;url&#95;itemid;  et plus loin  $lang = JFactory::getLanguage(); $locale = strtolower(substr($lang-&gt;get('tag'), 0, 2));  merci")*

la variable lc et country existe [ developer.paypal.com/webapps/developer/d...ndard\_htmlvariables/](https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/)

j'ai modifié paypal.php en ajoutant

$vars = array(
'cmd' =&gt; '_ext-enter',
'redirect_cmd' =&gt; '_cart',
'upload' =&gt; '1',
'business' =&gt; $this-&gt;payment_params-&gt;email,
'receiver_email' =&gt; $this-&gt;payment_params-&gt;email,
'invoice' =&gt; $order-&gt;order_id,
'currency_code' =&gt; $this-&gt;currency-&gt;currency_code,
'return' =&gt; $return_url,
'notify_url' =&gt; $notify_url,
'cancel_return' =&gt; $cancel_url,
'undefined_quantity' =&gt; '0',
'test_ipn' =&gt; $debug,
'no_shipping' =&gt; $this-&gt;payment_params-&gt;no_shipping,
'no_note' =&gt; !@$this-&gt;payment_params-&gt;notes,
'charset' =&gt; 'utf-8',
'rm' =&gt; (int)@$this-&gt;payment_params-&gt;rm,
'bn' =&gt; 'HikariSoftware_Cart_WPS',
**'lc' =&gt; 'FR'**,
**'country' =&gt; 'FR'**
);

et ça marche
ça serait un plus d'ajouter cette variable dynamique selon la langue de l'utilisateur

Last edit: 13 years 1 month ago by [erickb](/forum/user/4069-erickb "View erickb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODYyNDg2LWZvcmNlci1wYXlwYWwtZW4tZnI/dG1wbD1tYXJrZG93bg==) 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)
-

13 years 1 month ago [\#126030](#126030) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Forcer Paypal en FR](/forum/5-support-en-francais-french-support-/862486-forcer-paypal-en-fr#126030 "-- HikaShop version -- : 221 -- Joomla version -- : 2514  J'ai Paypal (...../www.paypal.com/cgi-bin/webscr) qui affiche irrégulièrement en FR ou EN alors que la langue du site est uniquement en FR sans choix de changement Comment puis je forcer paypal en FR ? avec quelle variable ? dans plugins/hikashoppayment/paypal/paypal.php je trouve  $notify&#95;url = HIKASHOP&#95;LIVE.'index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif&#95;payment='.$this-&gt;name.'&amp;tmpl=component&amp;lang='.$this-&gt;locale . $this-&gt;url&#95;itemid;  et plus loin  $lang = JFactory::getLanguage(); $locale = strtolower(substr($lang-&gt;get('tag'), 0, 2));  merci")*

Bonjour,

TODO list mise à jour.

cordialement

---

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

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

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

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

Less More

- Posts: 2705
- Thank you received: 74
-
-

13 years 1 month ago [\#126036](#126036) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[Forcer Paypal en FR](/forum/5-support-en-francais-french-support-/862486-forcer-paypal-en-fr#126036 "-- HikaShop version -- : 221 -- Joomla version -- : 2514  J'ai Paypal (...../www.paypal.com/cgi-bin/webscr) qui affiche irrégulièrement en FR ou EN alors que la langue du site est uniquement en FR sans choix de changement Comment puis je forcer paypal en FR ? avec quelle variable ? dans plugins/hikashoppayment/paypal/paypal.php je trouve  $notify&#95;url = HIKASHOP&#95;LIVE.'index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif&#95;payment='.$this-&gt;name.'&amp;tmpl=component&amp;lang='.$this-&gt;locale . $this-&gt;url&#95;itemid;  et plus loin  $lang = JFactory::getLanguage(); $locale = strtolower(substr($lang-&gt;get('tag'), 0, 2));  merci")*

et n'oublie pas la possibilité d'un paiement diffèré comme sur atos

dans paypal_end.php
&lt;input type="hidden" name="paymentaction" value="authorization" /&gt;

et ca marche tres bien

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

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