Re: re: CVV js setting

updmike <[email protected]> 13 Sep 2003 14:29:58 -0000
Newsgroups gmane.comp.web.oscommerce.features
Message-ID <580433fcd00af10eb24579601f82fbd8@osCommerce-Forums>
This message was sent from: Features
http://forums.oscommerce.com/viewtopic.php?p=228878#228878
----------------------------------------------------------------

Ha Ha, Would you believe i just figured it out myself just a few minutes ago and came here to post the answer? LOL... 

Thanks  Coffman... 

 :P 

[quote="coffman"][quote="updmike"]You have made me the happiest man.. It finally works.. 

I do have one problem and it may help out cmm who also had this problem back in the beginning of the thread. 

The Java Script pop up error appears when you dont fill in a field. 
When I do not fill in the CVV field I get that funny JS error that says.. 

[quote]You have not filled in the fields.. please make corrections to : MODULES_PAYMENT_AUTHORIZENET_TEXT_JS_CC_CVV[/quote] 

i am assuming i am missing a error code in my database or in my config files. Can anyone point out where I should place this error text message? 

anyhelp would be great.. 

thanks..[/quote]

To the file includes/languages/english/modules/payment/authorizenet.php add something like the following:
[code]
  define('MODULE_PAYMENT_AUTHORIZENET_TEXT_JS_CC_CVV', '* You must enter a CVV number\n');
[/code][/quote]