View Full Version : Paypal sending paypal_ipn error after completion of payment

11-08-2009, 10:44 PM
Hi All,

I am working on a website in which paypal is working very well. But when paypal complete the transaction it sends some "Inavalid or Bad order" Like this type of mail to customer who is paying through paypal. Means customer is getting such a mail I am showing here:

Subject: [Wed Nov 4 9:27:48 CST 2009] paypay_ipn error

Bad order (PayPal says it's invalid)

The following input was received from (and sent back to) PayPal:


****/1.1 200 OK
Date: Wed, 04 Nov 2009 15:27:48 GMT
Server: Apache
cwrClyrK4LoCV1fydGbAxiNL6iG=zkAG9DzlTtxANy3h_B1q13 kLR2BfW6uyP4yUh89DStvXnAoI
nHuRjB3bJomOgnl7lctZDk3TU_L78oQzmBN1i2f6hlIVsNJZ7j 38vG6aANpJjxk0YtjAkjDmzvah
g-B6CYEMDm%7c6XrVSqq9mHKKZp1llJe43TyFG6hR3_oAULg7Wvw HSIkYu7P8dAy4CVJlh64LF2d
YGI0%7c1257348468; domain=.paypal.com <****://paypal.com/ > ; path=/
Set-Cookie: cookie_check=yes; expires=Sat, 02-Nov-2019 15:27:48 GMT;
domain=.paypal.com; path=/
Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/
Set-Cookie: navlns=0; expires=Tue, 30-Oct-2029 15:27:48 GMT;
domain=.paypal.com; path=/
Vary: Accept-Encoding
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

And for this integration part i am using this code in integration. I am showing here :

<form name="_xclick" action="****s://***.paypal.com/cgi-bin/webscr" method="post">

<input type="hidden" name="cmd" value="_xclick">

<input type="hidden" name="business" value="<?=$pay_email;?>">

<input type="hidden" name="item_name" value="<?=$itm_name;?>">

<input type="hidden" name="item_number" value="<?=$itm_no;?>">

<input type="hidden" name="amount" value="<?=$pp_price;?>">

<input type="hidden" name="custom" value="<? echo $custom_id; ?>">

<input type="hidden" name="no_note" value="1">

<input type="hidden" name="currency_code" value="<?=$pp_cur;?>">

<input type="hidden" name="return" value="****://***.mysite.com/events/pplreturn.php">

<input type="hidden" name="rm" value="2">

<input type="hidden" name="cbt" value="Return to <?=$site_name; ?>">

So I am not understanding the why my customer or Paypal is sending this mail . Please help me to solve this issue . This is so urgent for me very soon.

Is it possible that we have to put in an IPN? But how ? and where I can put this ??
Please help me.
In case , if you need any other code or file code then please tell me here . I will provide here.

12-21-2009, 08:06 AM
I'm getting the same headache - please help

12-21-2009, 11:18 AM

Which PayPal module are you using?


12-23-2009, 07:55 AM
sorry for getting back so late. It turns out I assumed an error but actually the customers line was cutting in an out so he ran the paypal order twice.

sorry about that