Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal Error In Script On Payment Info Page


macad613

Recommended Posts

Hi Guys I have installed the e-bullion and e-gold scripts into oscom and itwas all working then I am suddenly gettiing a error showing: Cannot redeclare class ebullion in /home/xxxxx/public_html/buy/includes/modules/payment/ebullion.php on line 21

 

This shows after "Continue Checkout Procedure to select the preferred payment method" and thats the end it will go no where.

 

This is the start of the script and line 21 is the first line of actual script as follows: class ebullion {

 

 

 

<?Php

/*

$Id: ebullion.php,v 0.1 2004/03/20

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Adapted from the emocorp source under GPL

 

Copyright © 2004 rayServers.com

 

Laptops, Workstations & Servers that are Installed Secure

http://www.rayservers.com/

 

Released under the GNU General Public License

Version 0.1

 

*/

 

 

class ebullion {

var $code, $title, $description, $enabled;

 

// class constructor

function ebullion() {

$this->code = 'ebullion';

$this->title = MODULE_PAYMENT_EBULLION_TEXT_TITLE;

$this->description = MODULE_PAYMENT_EBULLION_TEXT_DESCRIPTION;

$this->sort_order = MODULE_PAYMENT_EBULLION_SORT_ORDER;

$this->enabled = ((MODULE_PAYMENT_EBULLION_STATUS == 'True') ? true : false);

 

if ((int)MODULE_PAYMENT_EBULLION_ORDER_STATUS_ID > 0) {

$this->order_status = MODULE_PAYMENT_EBULLION_ORDER_STATUS_ID;

}

$this->form_action_url = 'https://www2.e-bullion.com/atip/process.php';

}

 

// class methods

function javascript_validation() {

return false;

}

 

function selection() {

return array('id' => $this->code,

'module' => $this->title);

}

 

function pre_confirmation_check() {

return false;

}

 

function confirmation() {

return false;

}

 

function process_button() {

global $order, $currencies;

 

$process_button_string = tep_draw_hidden_field('ATIP_STATUS_URL', '') .

 

 

I'm desperate to get this online , Can anyone help me please???

 

Dave

macad613

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...