Paypal Ipn

Hi,



Number of paid items is different than the number of items in the order



I have this message, the order is paid, order not visible : the status is incomplete (H)

Suggestions?





Thank

Lucien





Cscart 4.24

paypal1.jpg

order.jpg

[quote name='lulu51' timestamp='1422555450' post='203849'] Hi, Number of paid items is different than the number of items in the order I have this message, the order is paid, order not visible : the status is incomplete (H) Suggestions? Thank Lucien Cscart 4.24 [/quote]



Hi I receive the same message in order detail message after checkout by paypalpro



[color=#333333]IPN errors: [/color]Number of paid items is different than the number of items in the order



But the order number is correct.



Any help.



Thank you,



Albert

CS-CART Version 4.2.4



I have the same issue. I am putting in a ticket for this today.

I just corrected the double invoice issue with PayPal express by applying func.php changes per cs-cart Support a couple of days ago.

While testing this, I received a PayPal Standard order that was incomplete, with the error message:[color=#333333]IPN errors: [/color]Number of paid items is different than the number of items in the order

By coincidence, my own Test order for PayPal express and the customers order with PayPal standard had PA Sales tax.

What I see happening is that the PA Sales tax is counted as an item in PayPal Standard, but not as an item in PayPal Express (This is correct).

The PayPal standard order does not have the PA Sales tax in the PayPal invoice where it should be, but as an item.

It appears its the sales tax that is not handled the same way in PayPal standard as it is in PayPal Express.

Bob

I just found the bug report on this. Looks like it will be fixed in version 4.3.1.

http://forum.cs-cart.com/tracker/issue-5476-paypal-bug-ipn-error-on-tax-surcharge/page__gopid__20943#entry20943

Bob

Hi Bob, could you please post the fix? thx

Does anyone have the fix for this in 4.2.4?

[quote name='Ayokay' timestamp='1433196025' post='216842']

Does anyone have the fix for this in 4.2.4?

[/quote]

Hello.

Try to add the following code:


$extra['headers'] = array('Connection: Close', 'User-Agent: company-name');
$url = (Registry::get('addons.paypal.test_mode') == 'Y') ? 'https://www.sandbox.paypal.com/cgi-bin/webscr' : 'https://www.paypal.com/cgi-bin/webscr';
$result = Http::post($url, $data, $extra);


instead of the following one:


$url = (Registry::get('addons.paypal.test_mode') == 'Y') ? 'https://www.sandbox.paypal.com/cgi-bin/webscr' : 'https://www.paypal.com/cgi-bin/webscr';
$result = Http::post($url, $data);


in the “app/addons/paypal/controllers/common/payment_notification.post.php” file.

Please let me know if it will help you.



Best regards,

CS-Market.

Hello.
Try to add the following code:

$extra['headers'] = array('Connection: Close', 'User-Agent: company-name');
$url = (Registry::get('addons.paypal.test_mode') == 'Y') ? 'https://www.sandbox.paypal.com/cgi-bin/webscr' : 'https://www.paypal.com/cgi-bin/webscr';
$result = Http::post($url, $data, $extra);
instead of the following one:
$url = (Registry::get('addons.paypal.test_mode') == 'Y') ? 'https://www.sandbox.paypal.com/cgi-bin/webscr' : 'https://www.paypal.com/cgi-bin/webscr';
$result = Http::post($url, $data);
in the "app/addons/paypal/controllers/common/payment_notification.post.php" file.
Please let me know if it will help you.

Best regards,
CS-Market.

Anyone knows if this works?

I have the same issue only when buyers use a discount, Paypal seems to count the discount price as an article