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

#   Price difference between HikaShop and WorldPay

##

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

Less More

- Posts: 237
- Thank you received: 5
-
-

9 years 9 months ago -  9 years 9 months ago [\#262918](#262918) by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile")  *[Price difference between HikaShop and WorldPay](/forum/29-payment-methods/888958-price-difference-between-hikashop-and-worldpay#262918 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello, In my HikaShop admin an order was created for a total of £38.68. The payment was processed by WorldPay.  However when I login to WorldPay and compare the transaction it is showing the price as £38.67.  It is only 0.01 difference but this order was not set to confirmed when the payment was approved at WorldPay and transferred back to the HikaShop website.  Why and how has this 0.01 discrepancy occurred? and can it be resolved so the HikaShop order matches the WorldPay amount?  Thanks  Lee  UPDATE: I have since had this reply from WorldPay:  Looking at the request logs for this transaction I can see that the amount sent through to Worldpay was: &quot;amount&quot;:&quot;38.674998&quot;  This amount is sent through from the shopping cart and so they will need to resolve this, instead sending through the amount as valid pounds and pence (i.e. 2 decimal places).  Would setting the Configuration -&gt; Settings -&gt; Taxes -&gt; Round prices during calculations options to Yes solve this issue?")* was created by *[ltempest](/forum/user/1784-ltempest "View ltempest's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.5

Hello,
In my HikaShop admin an order was created for a total of £38.68. The payment was processed by WorldPay.

However when I login to WorldPay and compare the transaction it is showing the price as £38.67.

It is only 0.01 difference but this order was not set to confirmed when the payment was approved at WorldPay and transferred back to the HikaShop website.

Why and how has this 0.01 discrepancy occurred? and can it be resolved so the HikaShop order matches the WorldPay amount?

Thanks

Lee

**UPDATE:** I have since had this reply from WorldPay:

Looking at the request logs for this transaction I can see that the amount sent through to Worldpay was: "amount":"38.674998"

This amount is sent through from the shopping cart and so they will need to resolve this, instead sending through the amount as valid pounds and pence (i.e. 2 decimal places).

Would setting the Configuration -&gt; Settings -&gt; Taxes -&gt; Round prices during calculations options to Yes solve this issue?

Last edit: 9 years 9 months ago by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile").

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

9 years 9 months ago [\#262923](#262923) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Price difference between HikaShop and WorldPay](/forum/29-payment-methods/888958-price-difference-between-hikashop-and-worldpay#262923 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello, In my HikaShop admin an order was created for a total of £38.68. The payment was processed by WorldPay.  However when I login to WorldPay and compare the transaction it is showing the price as £38.67.  It is only 0.01 difference but this order was not set to confirmed when the payment was approved at WorldPay and transferred back to the HikaShop website.  Why and how has this 0.01 discrepancy occurred? and can it be resolved so the HikaShop order matches the WorldPay amount?  Thanks  Lee  UPDATE: I have since had this reply from WorldPay:  Looking at the request logs for this transaction I can see that the amount sent through to Worldpay was: &quot;amount&quot;:&quot;38.674998&quot;  This amount is sent through from the shopping cart and so they will need to resolve this, instead sending through the amount as valid pounds and pence (i.e. 2 decimal places).  Would setting the Configuration -&gt; Settings -&gt; Taxes -&gt; Round prices during calculations options to Yes solve this issue?")*

Hi,

Unfortunately, the WorldPay plugin you're using has been developed by a third party developer so we cannot provide any advanced support on that plugin.
But it looks like WorldPay is processing itself the order total thanks to the cart details instead of using the "amount" which is provided.

In the plugin, please replace the line Code:

'amount' =&gt; $order-&gt;order_full_price,

By Code:

'amount' =&gt; round($order-&gt;order_full_price, (int)$this-&gt;currency-&gt;currency_locale['int_frac_digits']),

In order to provided a rounded amount to the platform ; so the price displayed by HikaShop and send to WorldPay would be identical.

Regards,

---

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

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

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