Welcome Guest, Not a member yet? Register   Sign In
paypal IPN issue noticed only for Credit cards
#1

[eluser]Unknown[/eluser]
Hi,
I have implemented paypal IPN in my codeigniter application (didnt use paypal_lib).

Its working fine for paypal transactions using paypal user account. But when I test a credit card payment IPN validation fails. It gives INVALID status.

I am using paypal sandbox account. I could not find any issue in the code. If I use the same code (code in the view file and the controller files) in other website which doesnot have codeigniter, it works fine.

Not sure whats going wrong inside codeigniter. Anybody faced similar problem ?



Following is the info(converted to comma seperated string) i get as response from paypal:

HTTP/1.1 200 OK
,Date: Tue, 03 Feb 2009 15:18:33 GMT
,Server: Apache/1.3.33 (Unix) mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a mod_ssl/2.8.22 OpenSSL/0.9.7e
,Set-Cookie: c9MWDuvPtT9GIMyPc3jwol1VSlO=760OpJq9FFX0wOS8Y4OHlKe3VxZTolcLxjA-TWeB5EaeJQDXMucktI8WmfnTNt1THHBJr03e6hKuYvr25fKKO-3QUP1EXvRHgpsQir0m5nvAcZDiMCtKhRhVLFQW4E0kK0_aZm|yaev55FrDcnxbVXHvkKQJo_O_p8-TdWc9E00MzcmBMmpY7xQlZ1xo6E5KGo-yEdp4g3FXW|b8O1fMBiC6m-X2fqGQpc5Bd5Vd0Vnb2O9JJH5q-GFtlx-AlBzzjlTB5f7J50jVaVqz9-NW|1233674313; domain=.paypal.com; path=/
,Set-Cookie: cookie_check=yes; expires=Fri, 01-Feb-2019 15:18:33 GMT; domain=.paypal.com; path=/
,Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/
,Set-Cookie: navlns=0; expires=Mon, 29-Jan-2029 15:18:33 GMT; domain=.paypal.com; path=/
,Set-Cookie: Apache=10.191.196.11.138621233674313347; path=/; expires=Mon, 22-Dec-02 08:50:17 GMT
,Connection: close
,Transfer-Encoding: chunked
,Content-Type: text/html; charset=UTF-8
,
,7
,INVALID
,0
,




Theme © iAndrew 2016 - Forum software by © MyBB