News:

Support the VirtueMart project and become a member

Main Menu

PayPal IPN Error

Started by only1russ, August 24, 2011, 03:24:13 AM

Previous topic - Next topic

only1russ


I have been reading several threads on this, but I do not charge tax, but I do charge 3.10 % fee for shipping (setup in the module)
I only use USD currently and ONLY take paypal.

I get the PayPal IPN Error where Virtuemart may have a total of $3.98 and paypal has a total of $3.99 (1 cent off)
It is not all the time - but VERY often.

The previous examples I have found reference tax, or reference different currencies. I am not sure where to look.
Please advise.

Thanks!

stinga

G'day,

It is all to do with the same issue in that the total is calculated twice and differently. So you either need to stop recalculating the price in the paypal stuff or ignore the error.
I will have a look at this since it seems to becoming more prevalent but I can't say when.
We took the decision to modify notify.php and allow price variance of +/- 0.01 of a unit of currency, not good but quick and dirty.
Stinga.
614869 products in 747 categories with 15749 products in 1 category.
                                             Document Complete   Fully Loaded
                Load Time First Byte Start Render   Time      Requests      Time      Requests
First View     2.470s     0.635s     1.276s          2.470s       31            2.470s      31
Repeat View  1.064s     0.561s     1.100s          1.064s       4             1.221s       4

only1russ

Wow - THANKS! - I did another search for "recalculating the price in the paypal" and "recalculating the price" but there is no information - Is there an option for this - or will I need to modify a script domewhere ?

-I do NOT want paypal to recalculate anything - I only want them to get the total of what is being sent.
(There may be a good redundancy check here, but I have not seen any errors - except paypay is paying me one cent less on about 80% of the orders) - a penny - not bad - but a halt in the automatic process - and time to verify = frustrating...

THANKS again!

-- Russ T.


stinga

G'day,

I may have not said quite wanted I want to say!.
It's not PP that is recalculating the data it is the code in VM that sends the data to PP. It is  VM issue. In the PP extra code section of the PP payment methode you can see some calc's going on to get the data from the DB to send to PP, it is there that the problem occurs (I think). I would need to check to make sure.
Stinga.
614869 products in 747 categories with 15749 products in 1 category.
                                             Document Complete   Fully Loaded
                Load Time First Byte Start Render   Time      Requests      Time      Requests
First View     2.470s     0.635s     1.276s          2.470s       31            2.470s      31
Repeat View  1.064s     0.561s     1.100s          1.064s       4             1.221s       4

only1russ

The entire error I get is:
the amount didn't match the order total.

Is this fixed in the new version ?
and/or is there a file I can edit to calculate only 1 time rather than creating a new calculation from the database ? - or something similar ?