- Posts: 81
- Thank you received: 0
Payment Amount Display not Passing to PayPal Properly
- herb200mph
-
Topic Author
- Offline
Less
More
9 years 6 months ago #265283
by herb200mph
Payment Amount Display not Passing to PayPal Properly was created by herb200mph
-- url of the page with the problem -- :
shop.justducks.co.uk
-- HikaShop version -- : 3.0.0 BUSINESS
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.3
-- Browser(s) name and version -- : All
On the PayPal Hosted Checkout Page, the amount: £4.10 is passing to PayPal as: £4.1, dropping the "0" which can create an issue with payment amounts. Please advise as to correction required to pass the full value to PayPal and not truncate the "0" at the end.
Thank you.
-- HikaShop version -- : 3.0.0 BUSINESS
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.3
-- Browser(s) name and version -- : All
On the PayPal Hosted Checkout Page, the amount: £4.10 is passing to PayPal as: £4.1, dropping the "0" which can create an issue with payment amounts. Please advise as to correction required to pass the full value to PayPal and not truncate the "0" at the end.
Thank you.
Please Log in or Create an account to join the conversation.
9 years 6 months ago #265290
by nicolas
Replied by nicolas on topic Payment Amount Display not Passing to PayPal Properly
Hi,
We do not truncate the total but round it to 2 decimals. So if there is a 0 or two, they are removed as not needed. But we don't remove the digits. If you have £4.11, you'll get that in PayPal.
This has always worked and the PayPal plugin is used by tens of thousands of online shops and it has never been an issue.
So I don't see why you'd want to change that ?
We do not truncate the total but round it to 2 decimals. So if there is a 0 or two, they are removed as not needed. But we don't remove the digits. If you have £4.11, you'll get that in PayPal.
This has always worked and the PayPal plugin is used by tens of thousands of online shops and it has never been an issue.
So I don't see why you'd want to change that ?
Please Log in or Create an account to join the conversation.
- herb200mph
-
Topic Author
- Offline
Less
More
- Posts: 81
- Thank you received: 0
9 years 6 months ago #265491
by herb200mph
Replied by herb200mph on topic Payment Amount Display not Passing to PayPal Properly
The issue we are referring to is a trailing "0" being removed.
If the ending price is £4.10 (and you said you remove the "0") - then what is being passed to PayPal is £4.1.
This is not correct. The entire number should parse as £4.10 - to include the zero.
Please advise.
If the ending price is £4.10 (and you said you remove the "0") - then what is being passed to PayPal is £4.1.
This is not correct. The entire number should parse as £4.10 - to include the zero.
Please advise.
Please Log in or Create an account to join the conversation.
9 years 6 months ago #265496
by nicolas
Replied by nicolas on topic Payment Amount Display not Passing to PayPal Properly
Hi,
You say "This is not correct" but you don't explain why.
4.1 is equal to 4.10 so we won't change that if we don't have a valid explanation to change that.
As I asked previously, I don't see why you'd want to change that ?
Did you get an error somewhere ?
You say "This is not correct" but you don't explain why.
4.1 is equal to 4.10 so we won't change that if we don't have a valid explanation to change that.
As I asked previously, I don't see why you'd want to change that ?
Did you get an error somewhere ?
Please Log in or Create an account to join the conversation.
- herb200mph
-
Topic Author
- Offline
Less
More
- Posts: 81
- Thank you received: 0
9 years 6 months ago #266009
by herb200mph
Replied by herb200mph on topic Payment Amount Display not Passing to PayPal Properly
The client is making this request.
If in Amercian $$$, the amount $4.1 would be totally incorrect. It should be $4.10.
Client is in the UK and wants the ".10" to appear as such.
If you can't do it, you can't, without an argument on "why" a client would want it that way.
If we had shop this in the US, the "0" darn sure should appear.
If in Amercian $$$, the amount $4.1 would be totally incorrect. It should be $4.10.
Client is in the UK and wants the ".10" to appear as such.
If you can't do it, you can't, without an argument on "why" a client would want it that way.
If we had shop this in the US, the "0" darn sure should appear.
Please Log in or Create an account to join the conversation.
9 years 6 months ago #266015
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Payment Amount Display not Passing to PayPal Properly
Hello,
The amount is not incorrect but the display is not perform like you want.
Now it is not possible for us to understand what you're talking about and where that information is displayed.
So I'm afraid that the only thing we can tell you is an absolute mathematical answer :
Regards,
The amount is not incorrect but the display is not perform like you want.
Now it is not possible for us to understand what you're talking about and where that information is displayed.
So I'm afraid that the only thing we can tell you is an absolute mathematical answer :
Code:
4.1 = 4.10 = 4.10000000000
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.179 seconds