Gossamer Forum
Home : Products : Gossamer Links : Discussions :

PayPal IPN always returns 'INVALID'

Quote Reply
PayPal IPN always returns 'INVALID'
Even with otherwise successful transactions, the postback always returns 'INVALID'.

If I comment out (or test for 'INVALID') in GT::Payment::Remote::PayPal.pm, then everything is fine. The status is 'Completed' and all the other fields are as expected. It goes on and validates the link correctly. It's just the initial postback that fails everytime.

Are there any obvious things I should check? Or has the IPN format changed? If it makes a difference, the postback is under plain CGI and over plain http.


On a similar note: Is the 2checkout code only for version 2? I have an old version 1 2checkout account and all I get is a white screen when postback.cgi is executed. No debug information is written so it must be returning almost immediately.

Many thanks
Quote Reply
Re: [paulj] PayPal IPN always returns 'INVALID' In reply to
Yes, this is going to be a bigger than Ben Hur issue. I asked 2CO about that as a result of issues in another script I run. This was their reply...

Quote:
We are very excited by your interest in our new user interface and added
features. We currently expect to migrate existing vendors to our "V2"
version of 2Checkout.com, by mid to late September 2004.

However, as you have expressed an interest in preforming this process
yourself, please follow the instructions to set up a account in "V2".
Yes, there are in fact some huge differences. There are big differences between verions of V1.