Skip to main content

paypal sandbox error

More
14 years 8 months ago #36747 by jade
paypal sandbox error was created by jade
Hi,
Could you please advise what's wrong and help me to solve it while checking out redirect to paypal and then show the below message from paypal sandbox mode:

Error Detected
Error Message

The link you have used to enter the PayPal system contains an incorrectly formatted item amount.

Thanks in advance!
Jade

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #36835 by nicolas
Replied by nicolas on topic Re: paypal sandbox error
Hi,

You must have changed the number of decimals of your prices no ?
In that case, you should turn off the option "send order details" in the options of the paypal plugin and you want have the problem.

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #36919 by jade
Replied by jade on topic Re: paypal sandbox error
Hi Nicolas,
Our version is joomla 1.72 and Hika 1.54

1. If the unit price is $XX.00 then can work without any error.
2. If the unit price is $XX.90 (or have any decimals) then error again.

* The "send order details" is turned off when I was used Hika till now.

Cheers!
Jade

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #36928 by jade
Replied by jade on topic Re: paypal sandbox error
Sorry it should be:

Our version is joomla 1.72 and Hika 1.55

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #37060 by nicolas
Replied by nicolas on topic Re: paypal sandbox error
Could you give a link to a product which has that problem on your website so that we can have a look at the problem ?

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #37544 by jade
Replied by jade on topic Re: paypal sandbox error
Hi Nicolas
I've update hika 1.56 and
made a demo sit for you to check it how.
Please visit:

www.shop.iconxept.com/j6

Thanks!
Jade

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #37619 by jade
Replied by jade on topic Re: paypal sandbox error
Hi
I have test the other demo site today. Joomla 1.73 Hika 1.55
Even the unit price is $XX.00 (without any decimals) then error again.
Please help me to check out is any setting will occur this error?
Thanks in advance!
Jade

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #37721 by jade
Replied by jade on topic Re: paypal sandbox error
Hi
Did you think the following setting will occur this problem?
1) Configuration > System > Main -- Cart retaining period (there are two LINE FOR SET)
Please advise what is the normal in this setting should be?

2) Since the paypal is error but the order is created already at the back end.
So, does it will affect if client try to create another order again?

3) Attach is the paypal setting for your reference.

Thanks in advance.
Jade

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #37809 by nicolas
Replied by nicolas on topic Re: paypal sandbox error
I can see that the problem comes from the decimals of the prices sent to PayPal.

It must come from the way you configured your currency via the menu System->Currencies. Please check that you have 2 decimals configured for your USD currency and that should solve the problem.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #37830 by jade
Replied by jade on topic Re: paypal sandbox error
Good Morning!
Please see the attached and advise which part I need to be set?
Thanks in advance.
Jade

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #37831 by jade
Replied by jade on topic Re: paypal sandbox error
resent

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #37915 by jade
Replied by jade on topic Re: paypal sandbox error
Hello,
Awaiting for your advise which part to be set it correctly?
Thanks in advance!
Jade

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #38039 by nicolas
Replied by nicolas on topic Re: paypal sandbox error
Mmm. That's configured correctly.
Then, please add the line:
$currency->currency_locale = 2;

after the lines:
$currency=$currencies[$order->order_currency_id];

in the file plugins/hikashoppayment/paypal.php

That should help avoid the problem.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #38066 by jade
Replied by jade on topic Re: paypal sandbox error
Hi Nicolas
Thanks for your reply.
Is it like the attached modification??
Regs.,
Jade

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #38068 by jade
Replied by jade on topic Re: paypal sandbox error
Hi,
If replaced this paypal.php
It will display a "blank content page" when opening this plugin at the backend.
Please help to check for it.
Thanks in advance.
Regs.,
Jade

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #38167 by nicolas
Replied by nicolas on topic Re: paypal sandbox error
Yes the modification is correct.


If you get a blank page when you edit the plugin, it's likely there there is a problem with your modification. Are you sure that you didn't change something else in that file ?
Because that modification doesn't seem to be faulty.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #38191 by jade
Replied by jade on topic Re: paypal sandbox error
Hello,
I have re-modify this file and the back end display normally now.
However, the paypal error is still the same as before.
Please help me to check it again.
Many thanks!
Jade

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #38274 by nicolas
Replied by nicolas on topic Re: paypal sandbox error
Mmm.

Then, instead of :
$vars["amount_".$i]=round($product->order_product_price,(int)$currency->currency_locale);
change it to:

$vars["amount_".$i]=round($product->order_product_price,2);

in that file.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #38387 by jade
Replied by jade on topic Re: paypal sandbox error
Good Morning!
Nicolas,
Sorry still have the problem.
Please check the file if any thing I made mistake?
Regs.,
Jade

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #38389 by jade
Replied by jade on topic Re: paypal sandbox error
resent (txt) file.

Please Log in or Create an account to join the conversation.

Time to create page: 0.390 seconds
Powered by Kunena Forum