Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Help with paypal IPN please

Help with paypal IPN please

Locked

Views: 1,039

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
31 Oct 2007, 11:41 AM
#1
funtimesx avatar

funtimesx

New Zenner

Join Date:
Nov 2006
Posts:
18
Plugin Contributions:
0

Help with paypal IPN please

Hi All,

We've just cut a site over to live PayPal and I'm having problems. All was working fine in sandbox mode. I had made a couple of very small mods to the PayPal payment module, but these were in place and functioning in sandbox mode.

It seems to be falling over doing the postback:

Oct 31 2007 7:36 -- IPN INFO - POST VARS to be sent back for validation: 
To: www.paypal.com:80
POST /cgi-bin/webscr HTTP/1.1

Host: www.paypal.com

Content-type: application/x-www-form-urlencoded

Content-length: 720

Connection: close



Array
(
    [payment_date] => 04:36:27 Oct 31, 2007 PDT
    [txn_type] => web_accept
    [last_name] => xxx
    [residence_country] => AU
    [item_name] => xxx
    [payment_gross] => 
    [mc_currency] => AUD
    [business] => xxx
    [payment_type] => instant
    [verify_sign] => A2S1fniRGsoquzRDbs4f5rc383f8ASSF5aSlQoJzFBNreLLOsQfpBHI9
    [payer_status] => verified
    [tax] => 0.00
    [payer_email] => xxx
    [txn_id] => 2E737830WX7358243
    [quantity] => 1
    [receiver_email] => xxx
    [first_name] => xxx
    [payer_id] => H6ES8MKG55DZG
    [receiver_id] => 295CTPGH3T4XG
    [item_number] => Store Receipt
    [payment_status] => Completed
    [payment_fee] => 
    [mc_fee] => 0.31
    [shipping] => 0.00
    [mc_gross] => 0.50
    [custom] => zenid=002dd27ea0033021fdd30f863c573395
    [charset] => windows-1252
    [notify_version] => 2.4
    [cmd] => _notify-validate
)


Oct 31 2007 7:36 -- IPN INFO - Confirmation/Validation response 


<head><body> This object may be found <a HREF="https://www.paypal.com/cgi-bin/webscr">here</a> </body>

Oct 31 2007 7:36 -- Breakpoint: 1 - Collected data from PayPal notification

Oct 31 2007 7:36 -- IPN WARNING :: Transaction was not marked as VERIFIED. Keep this report for potential use in fraud investigations.
IPN Info = 
<head><body> This object may be found <a HREF="https://www.paypal.com/cgi-bin/webscr">here</a> </body>

Oct 31 2007 7:36 -- IPN FATAL ERROR :: Transaction did not validate

To make it more confusing, I have another script in the admin area that initiates payments and does an IPN postback to almost identical code (that calls the same ipn_postback procedure) and it works.

Can anyone shed any light?

Thanks!

ETA: Running v 1.3.7 and have checked my code against the latest patch and it is up to date.

31 Oct 2007, 1:58 PM
#2
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,601
Plugin Contributions:
0

Re: Help with paypal IPN please

Could you be more specific about the changes you made?