| | |
Paypal is sending message invalid or bad order ??
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Nov 2009
Posts: 2
Reputation:
Solved Threads: 0
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:
And for this integration part i am using this code in integration. I am showing here :
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,
Kparas
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:
•
•
•
•
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
PHP Syntax (Toggle Plain Text)
<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,
Kparas
•
•
Join Date: Sep 2009
Posts: 26
Reputation:
Solved Threads: 2
0
#2 18 Days Ago
IPN with PayPal is not as hard as it sounds...There's a great PHP library out there that supports it with reasonable docs: Micah Carrick's Paypal Class. I put this on my site and the IPN code is pretty straightforward, but you may want to read the PayPal documentation about the returned data as background.
•
•
Join Date: Nov 2009
Posts: 2
Reputation:
Solved Threads: 0
0
#3 17 Days Ago
Thanks for reply,
I have seen which link you given. But i did not get answer or solution in my code. Please help me . I am new in Paypal integration. I did not find solution for that. Please help me to solve this exactly. Where i will have to change in my paypal code which is given above.
I need it very soon.
Thanks
I have seen which link you given. But i did not get answer or solution in my code. Please help me . I am new in Paypal integration. I did not find solution for that. Please help me to solve this exactly. Where i will have to change in my paypal code which is given above.
I need it very soon.
Thanks
0
#4 17 Days Ago
It will be quicker for you to use the paypal class than to figure out what is wrong with your code.
If you had provided all of the code set up to use the PayPal sandbox then it would be easy to take that code and duplicate the error. What you have provided isn't sufficient to do that. There is definitely more that you need to make IPN work so I assume that you have other code that you haven't provided.
If you had provided all of the code set up to use the PayPal sandbox then it would be easy to take that code and duplicate the error. What you have provided isn't sufficient to do that. There is definitely more that you need to make IPN work so I assume that you have other code that you haven't provided.
![]() |
Similar Threads
- Sending message j2me (Java)
- How the process of sending message of confirmation will be done ? (Java)
- Invalid Hook Handle?? (Windows NT / 2000 / XP)
- PayPal? - vs. other online escrow services (eCommerce)
- hotmail message invalid password (Windows Software)
- Invalid System Disk error on install (Storage)
- Invalid BackWeb application id "4448364" (Viruses, Spyware and other Nasties)
- XP - "Invalid boot.ini file" (Windows NT / 2000 / XP)
- E-Mail error Message (Web Browsers)
Other Threads in the PHP Forum
- Previous Thread: Plugin could not be activated because it triggered a fatal error.
- Next Thread: php decode hacked my sites. Is it Virus
| Thread Tools | Search this Thread |
apache api array beginner binary broken cache cakephp checkbox class cms code codingproblem cron curl customizableitems database date display dynamic echo email error errorlog file files filter folder form format forms forum function functions gc_maxlifetime global google headmethod host href htaccess html image include insert ip javascript joomla limit link login mail malfunctioning memmory memory menu mlm multiple mysql nodes oop parameter parsing paypal pdf php phpmysql problem query radio random recursion recursiveloop remote script search select server sessions sms snippet source space sql static survey syntax system table trouble tutorial up-to-date update upload url validator variable video web youtube





