YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Paypal is sending some paypal_ipn error ??? Options
gagan22
#1 Posted : Thursday, November 05, 2009 10:43:36 AM
Rank: Starting Member

Groups: Registered

Joined: 11/5/2009
Posts: 2
Location: NEW DELHI
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 . Means customer is getting such a mail I am showing here:

Quote:

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:



http://www.paypal.com/cg...mp;cmd=_notify-validate

HTTP/1.1 200 OK
Date: Wed, 04 Nov 2009 15:27:48 GMT
Server: Apache
Set-Cookie:
cwrClyrK4LoCV1fydGbAxiNL6iG=zkAG9DzlTtxANy3h_B1q13kLR2BfW6uyP4yUh89DStvXnAoI
nHuRjB3bJomOgnl7lctZDk3TU_L78oQzmBN1i2f6hlIVsNJZ7j38vG6aANpJjxk0YtjAkjDmzvah
g-B6CYEMDm%7c6XrVSqq9mHKKZp1llJe43TyFG6hR3_oAULg7WvwHSIkYu7P8dAy4CVJlh64LF2d
MBLJtPG%7cYSivdzeYUK6_tAegQSUXrffHuz7ykpTY3vkOy-aCGpUtzkqyzlOWrLSvV54CH43wiK
YGI0%7c1257348468; domain=.paypal.com <http://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

INVALID



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

Code:

<form name="_xclick" action="https://www.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="http://www.mysite.com/events/pplreturn.php">

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

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

</form>



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.
Thanks,
Gagan
Sponsor  
 
nds_webdesign
#2 Posted : Friday, November 06, 2009 4:33:24 AM
Rank: Junior Member

Groups: Registered

Joined: 10/15/2009
Posts: 159
Location: Omaha, NE USA
You may want to check out this link: here.

And this one: here.

gagan22
#3 Posted : Friday, November 06, 2009 9:18:30 AM
Rank: Starting Member

Groups: Registered

Joined: 11/5/2009
Posts: 2
Location: NEW DELHI
Hi,

Thanks for reply,

I checked there where you asked me. But i did not get solution after checking there. Please help me to solve this.

I found one thing in my code in pplreturn.php file which i have shown there in my code in return.

Code:


// PayPal will tell us whether or not this order is valid.

    // This will prevent people from simply running your order script

    // manually





    if( !$paypal_ipn->is_verified() )

    {

        // bad order, someone must have tried to run this script manually

        $paypal_ipn->error_out("Bad order (PayPal says it's invalid)");

    }



    // payment status


This is the text which i am getting my customer mail

Quote:
Bad order (PayPal says it's invalid)


I think problem is in my pplreturn.php or there have been something have changed manually.

But i am not sure about this where and why this mail is coming from paypal. I am confused about this problem . Please help me to solve this.

Thanks,
nds_webdesign
#4 Posted : Sunday, November 08, 2009 6:01:01 AM
Rank: Junior Member

Groups: Registered

Joined: 10/15/2009
Posts: 159
Location: Omaha, NE USA
This may have to do with your header or the URL you are posting back to.

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.239 seconds.