Skip to main content

Pay pal refused

More
14 years 7 months ago - 14 years 7 months ago #41118 by lacasetta
Pay pal refused was created by lacasetta
Hi,
I've a problem with Paypal payment.
I asked you if you could add a percentage for paypal payments, you told me it was not possible.
So I put in my paypal procedure, a percentage (1.5%) in the form of management fees.
So far so good.

The problem comes when the customer confirms the payment.
The payment is rejected for this error:
"Hello,
A PayPal notification was rejected, because the amount received (23.65EUR) is different from the amount of the order (23.3EUR) "

And in addition, the order is canceled.

What can I do?

my site with Hikashop
www.lacasettabio.it
Last edit: 14 years 7 months ago by lacasetta.

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

More
14 years 7 months ago #41125 by nicolas
Replied by nicolas on topic Re: Pay pal refused
Hi,

You can change the line:
if($price_check != @$vars || $currency->currency_code != @$vars){

to:
if($price_check > @$vars || $currency->currency_code != @$vars){

in the file plugins/hikashoppayment/paypal.php

That way, it will validate the orders as long as the payment is at least the amount of the order.

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

More
14 years 7 months ago #41129 by lacasetta
Replied by lacasetta on topic Re: Pay pal refused
OK, done!
Thanks

my site with Hikashop
www.lacasettabio.it

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

More
13 years 8 months ago #86454 by donzo
Replied by donzo on topic Re: Pay pal refused
is this fix still required, im getting a similar issue, but mine it seems is due to the exchange rate of paypal giving a slightly different price on foreign orders.

e.g.: order = £41.56, but the papal currency conversion gives £41.57

so, shall I do this to my plugin or has this been fixed and this is another issue?

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

More
13 years 8 months ago #86498 by Xavier
Replied by Xavier on topic Re: Pay pal refused
It has been fixed, in your case it's another issue.

Have you enable the "Send details of the order" in the PayPal options.

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

More
13 years 8 months ago #86499 by donzo
Replied by donzo on topic Re: Pay pal refused
Thanks for replying.

Yes the "send details" button is selected. See attachment.

So I dont need to make this amend to the plugin then? >>

/* if($price_check != @$vars || $currency->currency_code != @$vars){ */
if($price_check > @$vars || $currency->currency_code != @$vars){

Here is the email I got >>>>

Hello,
A Paypal notification was refused because the amount received (141.46GBP) is different from the order amount (141.45GBP)

Check the documentation concerning this issue at www.hikashop.com/index.php?option=com_up...-paypal-error#amount
This notification was for the order XXXX on the website www.XXXXXXXX.co.uk/
You can access the order details directly by clicking on the link below after logging in your back end:




I should mention that the plugin works fine usually with orders made using the UK paypal. I am guessing that the difference in values is due to this order being made in the Netherlands, and maybe the conversion from thier currency to UK pounds is not quite exact.?

Thanks

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

More
13 years 8 months ago #86501 by donzo
Replied by donzo on topic Re: Pay pal refused
/* if($price_check != @$vars || $currency->currency_code != @$vars){ */
if($price_check > @$vars || $currency->currency_code != @$vars){

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

More
13 years 8 months ago #86502 by donzo
Replied by donzo on topic Re: Pay pal refused
sorry the WSYWIG is stripping out the 'mc_gross' bits in the above code

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

More
13 years 8 months ago #86578 by nicolas
Replied by nicolas on topic Re: Pay pal refused
The error comes from the fact that PayPal calculate differently the taxes/prices. If you turn off the "send order details" option of the PayPal plugin, that error should not happen anymore as PayPal will only get the total of the order and process the correct price.

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

More
13 years 8 months ago #86612 by donzo
Replied by donzo on topic Re: Pay pal refused
Thanks, I will give that a try.

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

More
12 years 10 months ago - 12 years 10 months ago #132983 by lacasetta
Replied by lacasetta on topic Re: Pay pal refused
Hi i had the same error:
"Ciao,
Una Paypal notifica è stata rifiutata poiché l'importo ricevuto (105.95EUR) è differente dall'importo dell'ordine (105.94EUR)"

I'll try to do what Nicolas wrote.
my code no longer has the change I had done.

my site with Hikashop
www.lacasettabio.it
Last edit: 12 years 10 months ago by lacasetta.

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

More
12 years 10 months ago - 12 years 10 months ago #133023 by Mohamed Thelji
Replied by Mohamed Thelji on topic Pay pal refused
Hi,
Can you download the last Hikashop version through our website, install it and test it again ? If you're still having the "Paypal refused" message, can you show me how did you configured your Paypal payment method through some screenshots ?

Thank you :).
Last edit: 12 years 10 months ago by Mohamed Thelji.

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

Time to create page: 0.237 seconds
Powered by Kunena Forum