Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem adding the paypal surcharge script


tksystems.co.uk

Recommended Posts

I have just tried installing this script, it will allow me to install the script but it comes up with a error

 

Parse error: parse error in /home/king007/public_html/catalog/includes/languages/english/modules/order_total/ot_surcharge.php on line 27

 

any ideas how this can be fixed ?

 

 

 

Got the script from this thread

 

http://www.oscommerce.com/forums/index.php?sho...20entry238268

Link to comment
Share on other sites

This is the code below for catalog\includes\languages\english\modules\order_total\ot_surcharge.php

 

<?php

 

/*

 

$Id: ot_surcharge.php,v 1.0 2003/6/19 23:09:49 wib Exp $

 

 

 

osCommerce, Open Source E-Commerce Solutions

 

http://www.oscommerce.com

 

 

 

Copyright ? 2002 osCommerce

 

 

 

Released under the GNU General Public License

 

*/

 

 

 

define('MODULE_PAYMENT_TITLE', 'Payment Type Surcharge);

 

define('MODULE_PAYMENT_DESCRIPTION', 'Payment Type Fee');

 

define('SHIPPING_NOT_INCLUDED', ' [shipping not included]');

 

define('TAX_NOT_INCLUDED', ' [Tax not included]');

 

?>

Link to comment
Share on other sites

Change:

 

define('MODULE_PAYMENT_TITLE', 'Payment Type Surcharge);

 

to:

 

define('MODULE_PAYMENT_TITLE', 'Payment Type Surcharge');

 

There is a missing '

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...