Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Paypal problem - Fault in module? (stray text in my file)

Paypal problem - Fault in module? (stray text in my file)

Locked

Views: 1,241

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
4 Dec 2006, 7:50 PM
#1
lazze avatar

lazze

New Zenner

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

Paypal problem - Fault in module? (stray text in my file)

Need som help here, can anyone tell what's wrong here and how to fix it. Zen cart 1.2.6

I get this error in admin/moduls/payment

Parse error: parse error, unexpected T_DNUMBER in /public_html/includes/modules/payment/paypal.php on line 191

These are the lines 190 -194:

$sql = "select * from " . TABLE_PAYPAL . " where zen_order_id = '" . $zf_order_id . "'";
72.9.248.34 = $db->Execute($sql);
require(DIR_FS_CATALOG. DIR_WS_MODULES . 'payment/paypal/paypal_admin_notification.php');
return $output;
}

191 is i bold letters.

Thanks in advance!

4 Dec 2006, 9:54 PM
#2
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: Paypal problem - Fault in module? (stray text in my file)

Very odd ... :shocking:

Try replacing that IP address with $ipn like this (code from v 1.2.7) ...

     $sql = "select * from " . TABLE_PAYPAL . " where zen_order_id = '" . $zf_order_id . "'";
    $ipn = $db->Execute($sql);
     require(DIR_FS_CATALOG. DIR_WS_MODULES . 'payment/paypal/paypal_admin_notification.php');
     return $output;
4 Dec 2006, 10:08 PM
#3
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Paypal problem - Fault in module? (stray text in my file)

Lazze,

Pixxi is correct,
I have no idea why you changed that line of code.

you might want to consider upgrading to 1.3.6 the paypal module is more advanced.

and less messy

5 Dec 2006, 2:04 AM
#4
lazze avatar

lazze

New Zenner

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

Re: Paypal problem - Fault in module? (stray text in my file)

It worked!

I don't know how the IP address got there, i've got no clue... But now everything is up and running again :D

Thanks for the help both of you!