.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
gotcha
so the rewrite was for \includes\languages\english\modules\payment\bluepay2.php ???
this was the one I edited
blessed be the day we make tomorrow a better yesterday
No. The edits were for the module itself, not the language file.
The file you just mentioned is the LANGUAGE file ... note the "/languages/english/" part in the filename path. ALL that file should contain is a bunch of "define" statements.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
this is what I have in the highlighted file\includes\languages\english\modules\payment\bluepay2.php is the file I applied the rewriteHTML Code:('MODULE_PAYMENT_BLUEPAY2_TEXT_JS_CC_NUMBER', '* The credit card number must be at least ' . CC_NUMBER_MIN_LENGTH . ' characters.\n'); define('MODULE_PAYMENT_BLUEPAY2_TEXT_JS_CC_CVV', '* You must enter the 3 or 4 digit number on the back of your credit card\n'); define('MODULE_PAYMENT_BLUEPAY2_TEXT_ERROR_MESSAGE', 'There has been an error processing you credit card, please try again.'); define('MODULE_PAYMENT_BLUEPAY2_TEXT_ERROR_DECLINE', 'Your credit card has been declined - please select another payment option'); define('MODULE_PAYMENT_BLUEPAY2_TEXT_ERROR', 'Oops - there was an error please check your card details'); ?>
blessed be the day we make tomorrow a better yesterday
You've got the files backwards, and they're incomplete.
Delete them all and start again.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
ok deleted everthing and uploaded again....
no changes noted (strange that all the tests buys showed in my bluepay back office)
now about to redo the rewrites
clear now I dont know what I am doing yet last night I was looking at some codes that perhaps may help achieve my goal?
andCode:$messageStack->add_session('checkout_payment', $error . '<!-- ['.$this->code.'] -->', 'error'); zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, $payment_error_return, 'SSL', true, false)); }
HTML Code:function get_error() { global $_GET; $error = array('title' => MODULE_PAYMENT_BLUEPAY2_TEXT_ERROR, 'error' => stripslashes(urldecode($_GET['error']))); return $error; }
blessed be the day we make tomorrow a better yesterday
Two options:
1. Do the edits I described earlier: http://www.zen-cart.com/forum/showpo...7&postcount=10
2. Or use the newer module you uploaded here: http://www.zen-cart.com/index.php?ma...oducts_id=1447
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
now the rewrites draw a blank page
I corrected an typo I made
all is ok
but no effect on error messages
Last edited by Lackew; 14 Nov 2009 at 07:53 PM.
blessed be the day we make tomorrow a better yesterday
I finally figured out what has happened. I didnt know that I had 2 versions. I downloaded directly from my backoffice and installed an old mod.
Then I was emailed the new mod and thought (assumed) it was the same.
So I deleted the old Again and installed the new mod and everything is working great - Including the error messages are showing where I wanted!
Thank Youfor your time for if it werent for you Senei I would have never caught my mistake!!!!
blessed be the day we make tomorrow a better yesterday