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

#   Problème arrondi sur méthode de paiement avec AUP

##

- **[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") Topic Author
- [ Offline](/forum/user/7512-emohk)

Less More

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

14 years 4 weeks ago [\#72361](#72361) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  *[Problème arrondi sur méthode de paiement avec AUP](/forum/5-support-en-francais-french-support-/72361-probleme-arrondi-sur-methode-de-paiement-avec-aup#72361 "Bonjour,  J'ai un problème d'arrondi sur la méthode de paiement avec les points d'alphauserpoints. J'ai paramétré dans le Hikashop AlphaUserPoints Plugin un taux de conversion 1 point =0,50 euros. Pour 23 points utilisés, j'obtiens 11 euros, au lieu de 11,50 euros.  Une idée??? Merci")* was created by *[emohk](/forum/user/7512-emohk "View emohk's Profile")*

Bonjour,

J'ai un problème d'arrondi sur la méthode de paiement avec les points d'alphauserpoints. J'ai paramétré dans le Hikashop AlphaUserPoints Plugin un taux de conversion 1 point =0,50 euros. Pour 23 points utilisés, j'obtiens 11 euros, au lieu de 11,50 euros.

Une idée???
Merci
[ ![paiement&#95;AUP.PNG](/forum/attachment/6488) ](/forum/attachment/6488 "paiement&#95;AUP.PNG")

- [ ![paiement&#95;AUP.PNG](/forum/attachment/6488) ](/forum/attachment/6488 "paiement&#95;AUP.PNG") [ ](/forum/attachment/6488?download=1 "paiement&#95;AUP.PNG")

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

14 years 3 weeks ago [\#73606](#73606) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: Problème arrondi sur méthode de paiement avec AUP](/forum/5-support-en-francais-french-support-/72361-probleme-arrondi-sur-methode-de-paiement-avec-aup#73606 "Bonjour,  J'ai un problème d'arrondi sur la méthode de paiement avec les points d'alphauserpoints. J'ai paramétré dans le Hikashop AlphaUserPoints Plugin un taux de conversion 1 point =0,50 euros. Pour 23 points utilisés, j'obtiens 11 euros, au lieu de 11,50 euros.  Une idée??? Merci")*

Bonjour,

Désolé pour le temps de réponse.
Nous avons fait des tests sur le plugin AlphaUserPoints et nous avons trouvé l'erreur provoquant l'arrondis.
La modification sera présente dans la prochaine version d'HikaShop (2.0)

Vous pouvez néanmoins faire une mise à jour manuelle du plugin en modifiant les lignes suivante dans la function "onAfterCartProductsLoad" : Code:

$aup-&gt;price_value = -$price; $aup-&gt;price_value_with_tax = -$price;

En : Code:

$aup-&gt;price_value = -$coupon; $aup-&gt;price_value_with_tax = -$coupon;

Cordialement,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzIzNjEtcHJvYmxlbWUtYXJyb25kaS1zdXItbWV0aG9kZS1kZS1wYWllbWVudC1hdmVjLWF1cD90bXBsPW1hcmtkb3du) 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") Topic Author
- [ Offline](/forum/user/7512-emohk)

Less More

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

14 years 2 weeks ago [\#73916](#73916) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Re: Problème arrondi sur méthode de paiement avec AUP](/forum/5-support-en-francais-french-support-/72361-probleme-arrondi-sur-methode-de-paiement-avec-aup#73916 "Bonjour,  J'ai un problème d'arrondi sur la méthode de paiement avec les points d'alphauserpoints. J'ai paramétré dans le Hikashop AlphaUserPoints Plugin un taux de conversion 1 point =0,50 euros. Pour 23 points utilisés, j'obtiens 11 euros, au lieu de 11,50 euros.  Une idée??? Merci")*

Bonjour,

Je vais testé.

Pour quand la version 2.0???

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzIzNjEtcHJvYmxlbWUtYXJyb25kaS1zdXItbWV0aG9kZS1kZS1wYWllbWVudC1hdmVjLWF1cD90bXBsPW1hcmtkb3du) 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") Topic Author
- [ Offline](/forum/user/7512-emohk)

Less More

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

14 years 2 weeks ago [\#73918](#73918) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Re: Problème arrondi sur méthode de paiement avec AUP](/forum/5-support-en-francais-french-support-/72361-probleme-arrondi-sur-methode-de-paiement-avec-aup#73918 "Bonjour,  J'ai un problème d'arrondi sur la méthode de paiement avec les points d'alphauserpoints. J'ai paramétré dans le Hikashop AlphaUserPoints Plugin un taux de conversion 1 point =0,50 euros. Pour 23 points utilisés, j'obtiens 11 euros, au lieu de 11,50 euros.  Une idée??? Merci")*

Sur quel fichier php?

Merci

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

14 years 2 weeks ago [\#73939](#73939) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: Problème arrondi sur méthode de paiement avec AUP](/forum/5-support-en-francais-french-support-/72361-probleme-arrondi-sur-methode-de-paiement-avec-aup#73939 "Bonjour,  J'ai un problème d'arrondi sur la méthode de paiement avec les points d'alphauserpoints. J'ai paramétré dans le Hikashop AlphaUserPoints Plugin un taux de conversion 1 point =0,50 euros. Pour 23 points utilisés, j'obtiens 11 euros, au lieu de 11,50 euros.  Une idée??? Merci")*

Bonjour,

Sur le fichier du plugin alphauserpoints: plugins/hikashoppayment/alphauserpoints/alphauserpoints.php

HikaShop 2.0 est actuellement en bêta (un thread lui est consacré sur le forum, section "general talk").
Il sera publié quand Nicolas le jugera bon ![:)](/media/kunena/emoticons/3.png ":)")

Cordialement,

---

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

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

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