Official PayPal IPN Support Thread
#4121
Posted 07 November 2011 - 05:54 PM
We are having a problem when some customers place a second order immediately after placing an order.
The second order will have the same order number as the previous order on the customer's invoice.
We receive the payment but there is no record of the second order in the database.
I have some customers that place multiple orders like this but only the first order will show up in the database.
This problem only shows up when they pay via Paypal.
Here's an example:
Customer John Smith comes to my shopping cart and wants to place two separate orders.
The first order is going to be shipped to himself.
John completes the first order and is given order number 2111.
After completing the first order he begins placing a second order that he will have shipped to his grandmother.
John completes the second order and is given order number 2111 for the second order as well.
I receive the payment for both orders.
However only the first order shows up in the database.
The only record of the second order is the fact that I have received payment for both orders.
I tried switching to POST for Return URL Behavior but the cart was still not cleared upon return.
I tried Auto Return and Payment Data Transfer on the paypal web site but it did not clear the cart upon return either.
I have tried it with a return URL in my PP account and without a return URL.
I can't see a difference.
I did some testing and when I pay for the first order and return to the shopping cart, the order IS recorded in the database but the items are STILL in my shopping cart.
When I pay for the second order and return to the shopping cart, the order is NOT recorded in the database but the items are CLEARED from the shopping cart.
At least that's what happened to me when I tested it.
I suppose I need to upgrade to a newer version or fix but the contribution page is confusing to me with some English, some German, and some out of order with the version numbers.
#4122
Posted 08 November 2011 - 08:57 PM
#4123
Posted 08 November 2011 - 10:05 PM
#4124
Posted 09 November 2011 - 02:57 PM
#4125
Posted 11 November 2011 - 04:11 PM
I guess the Paypal IPN is no longer being supported?
#4126
Posted 21 December 2011 - 09:16 AM
I have installed the 1.3.0.0 version of paypa_ipn.
In my site I have installed also affiliated OSC 1.8.
I have this problem:
When the customer goes to paypal goes all good.
The site generates a number of order Es. 51200 with name " waiting for pagamento".
When the customer finishes the payment l' order n 51200 changes name " payment effettuato".
The problem arrives when the customer return from paypal to ../checout_process.php
Now it comes generated a new order with number 51201.
This generates confusion for the customers.
I kindly ask to help me
Grazie
#4127
Posted 08 January 2012 - 11:10 PM
but its not sending me emails when i check out or to the customers email (I am running in sandbox) and its not updating the order status.
Thanks for any help.
PHP Version 5.2.17
cURL Information libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
osCommerce Online Merchant v2.2 RC2a
PayPal IPN v2.3.4.6
#4128
Posted 09 January 2012 - 07:29 AM
Edited by Darren11, 09 January 2012 - 07:43 AM.
#4129
Posted 20 February 2012 - 11:48 AM
They are after the variable: $cart_PayPal_IPN_ID gets set in the function confirmation() (near the bottom). One was an attempt to set a session variable, another was the same but for a global variable.
While both are syntactically correct, neither need to be set since the variable is declared as a global at the beginning of the function.
If anyone is having trouble with the $_POST['invoice'] var not being sent to paypal, check your checkout_confirmation.php file and make sure the confirmation() call is being made before the process_button() call. Otherwise the variable wont get set for the process_button call that sends the data to paypal.
Hope this helps someone.
Regards,
Tim Gall
#4130
Posted 19 March 2012 - 07:21 PM
#4131
Posted 06 April 2012 - 10:52 AM
"PayPal IPN Verified [Pending (Verified; €15,70); paymentreview]"
Why is there € and not the Euro symbol?
All other pages do show the correct symbol... I don't know how to fix this (besides manually in the database)
#4132
Posted 07 April 2012 - 10:33 AM
I have been using this great contribution for few years now without any problems.
Recently I just copied my shop and installed another one under different domain, and after changing configuration settings it works fine yet there is a problem with PayPal IPN.
It works, I can receive payments but the only one order status appears to be Preparing [PayPal IPN] and it doesn't change when the orrder is completed.
I can't select other satuses in configuration of PayPal IPN module simply because I gon only one option to choose - Preparing [PayPal IPN]
So far I have tried to remove the module and then copy all the files again on my server, then install the module again but it doesn't seem to change anything.
Does anyone have an idea what could help?
Edited by artur78, 07 April 2012 - 10:37 AM.
#4133
Posted 08 April 2012 - 03:00 PM
By mistake I have emptied table orders_status whilst copying the shop. The Preparing [Paypal IPN] appeared in the table after placing a test order. I added the rest manualy to db.
#4134 ONLINE
Posted 13 July 2012 - 04:22 PM
When a customer pays with Paypal the customers country is not getting transferred to the order process email???
It looks like below:
Delivery Address
------------------------------------------------------
Jane Dow
1121 Main St E
Toronto, M1M 1M1
Ontario,
Billing Address
------------------------------------------------------
Jane Dow
1121 Main St E
Toronto, M1M 1M1
Ontario,
It seems to work fine when a customer pays with my other payment module... Only when they choose paypal?
I have looked at the following code in ipn.php
$email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_format($order->delivery['format_id'], $order->delivery, 0, '', "\n") . "\n"; } $email_order .= "\n" . EMAIL_TEXT_BILLING_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_format($order->billing['format_id'], $order->billing, 0, '', "\n") . "\n\n";
I have tried to take snippets from checkout_process.... but no luck... any ideas?
#4135
Posted 23 August 2012 - 10:48 PM
Fatal error: Class 'httpClient' not found in /.............../html/includes/modules/shipping/ups.php on line 265
Fatal error: Class 'httpClient' not found in /.............../html/includes/modules/shipping/usps.php on line 303
The common denominator seems to be Paypal. No matter which shipping module I run, when it comes to checking out with Pay Pal I get this httpclient error. I also run Paypal Pro with no issues what-so-ever, it only seems to be a problem when Paypal (I assume) tries to redirect them off of my site onto theirs. Any and all help would, will and can be greatly appreciated.
#4136
Posted 23 August 2012 - 11:07 PM
Possible fix
if (!class_exists('httpClient')) {
include('includes/classes/http_client.php');
}
$http = new httpClient();
if ($http->Connect('www.ups.com', 80)) {
$http->addHeader('Host', 'www.ups.com');
$http->addHeader('User-Agent', 'osCommerce');
$http->addHeader('Connection', 'Close');
Possible Problem
$http = new httpClient();
if ($http->Connect('www.ups.com', 80)) {
$http->addHeader('Host', 'www.ups.com');
$http->addHeader('User-Agent', 'osCommerce');
$http->addHeader('Connection', 'Close');
after swapping these pieces of code I got the error, "wrong security header" or something similar but this is where the problem seems to be as both of the above reference fatal errors BOTH point to similar code in both files.
#4137
Posted 24 August 2012 - 12:18 AM
#4138
Posted 17 May 2013 - 06:00 PM
pimpton, on 14 September 2010 - 12:40 AM, said:
I got a email from PayPal today stating the following:
Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:
catalog/ext/modules/payment/paypal_ipn/ipn.php
I am not sure if this is a permission issue with access to the ipn.php file. Please help me with this issue.
Pimpton did you sort that problem ?
I got same issue and cant find solve for it









