Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

payflowpro redeclare class error


dreamhost

Recommended Posts

I have installed the payflowpro module put the files where they belong and changed the php_pfpro file to point to my verisign executable. However now when I goto checkout I get the following error

 

Fatal error: Cannot redeclare class payflowpro in /home/anointed/public_html/catalog/includes/modules/payment/payflowpro.php on line 12

 

the code this refers to is

class payflowpro {

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

 

does anyone have any ideas as to how to fix this? What I really cannot figure out is where payflowpro class is being called elsewhere, or how to fix this problem

Link to comment
Share on other sites

does anyone have any ideas as to how to fix this? What I really cannot figure out is where payflowpro class is being called elsewhere, or how to fix this problem

 

This normally occurs when you upload the code file to the languages directory by mistake.

 

Check that you have no code in

 

catalog/includes/languages/english/modules/payment/payflowpro.php

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

first off thanks for the idea I really could use any help offered.

I checked my lang files and there is a payflowpro.php file there, however the code for it is

 

define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_TITLE', 'Payflow Pro');

define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_TITLE1', 'This payment will be processed by Payflow Pro. Your information will be kept ');

define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_TITLE2', 'secure and private');

define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_CREDIT_CARD_HOLDER_FIRST_NAME', 'First Name');

define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_CREDIT_CARD_HOLDER_LAST_NAME', 'Last Name');

define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_DESCRIPTION', 'Credit Card Test Info:<br><br>CC#: 4111111111111111<br>Expiry: Any');

define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_TYPE', 'Type:');

define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_CREDIT_CARD_NUMBER', 'Credit Card Number:');

define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_CREDIT_CARD_EXPIRES', 'Expiration:');

define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_CREDIT_CARD_CSC', 'Card Verification Number');

define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_CREDIT_CARD_CSC_TEXT', '(On the back of your card, locate the final 3 digit number)');

define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_CREDIT_CARD_CSC_HELP', 'Help Finding Card Verification Number');

define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_CREDIT_CARD_CSC_AMEX', 'Using Amex?');

define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_JS_CC_NUMBER', '* The credit card number must be at least ' . CC_NUMBER_MIN_LENGTH . ' characters.n');

define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_ERROR_MESSAGE', 'There has been an error processing you credit card, please try again.');

define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_ERROR', 'Credit Card Error!');

?>

so I believe this must belong there, I tried deleting these from all the lang files but still get the same problem. I am on running linux7.2 if that helps at all

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...