Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Require Credit Card Security Code


bink

Recommended Posts

Could someone please give me some pointers on how to ask for and require the credit card security code (the three digit deal on the back ususally) in osC. Or let me know if there is a contribution which includes this....I am a php newbie and dont even know where to look!

 

Any help would be greatly appreciated!

 

Thanks in advance!

Kevin

Link to comment
Share on other sites

I downloaded th 24-e contribution and it says to look for lines 24-37 of my catalog/includes/modules/payment/cc.php

 

But when I open my file its only 22 lines.

 

<?php

/*

$Id: cc.php,v 1.10 2002/11/01 05:14:11 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('MODULE_PAYMENT_CC_TEXT_TITLE', 'Credit Card');

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

define('MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_TYPE', 'Credit Card Type:');

define('MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_OWNER', 'Credit Card Owner:');

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

define('MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_EXPIRES', 'Credit Card Expiry Date:');

define('MODULE_PAYMENT_CC_TEXT_JS_CC_OWNER', '* The owner's name of the credit card must be at least ' . CC_OWNER_MIN_LENGTH . ' characters.n');

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

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

?>

 

And that is what it looks like....I think I have a newer version of the osC code, is it my version of osC or the contrib that is out of date?

 

Please let me know and how I can remedy the problem.

 

Thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...