Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

CVV not being stored in DB . where's the bug?


Recommended Posts

I have installed this mod: http://www.oscommerce.com/community/contri...ry,1/search,cvv

but can't get cvv field to populate in DB

I have beed trying to find where it actually does insert but can't figure it out.

Does anybody know any bugs thats causing it? If I add cvv manually through php admin, it still won't show in admin orders area. Help please :huh:

Link to comment
Share on other sites

one istruction says:

9) In the same file (catalog/includes/classes/order.php)


Find this line: (Normally line: 157 or 158)


'cc_expires' => (isset($GLOBALS['cc_expires']) ? $GLOBALS['cc_expires'] : ''),


Add this just after:


'cc_cvv2' => (isset($GLOBALS['cc_cvv2']) ? $GLOBALS['cc_cvv2'] : ''),




but what I have is:


'cc_expires' => (isset($HTTP_POST_VARS['cc_expires']) ? $HTTP_POST_VARS['cc_expires'] : ''),

'cc_cvv2' => (isset($HTTP_POST_VARS['cc_cvv2']) ? $HTTP_POST_VARS['cc_cvv2'] : ''),

Link to comment
Share on other sites

A small tip for those who are not aware of this fact:


You are not allowed to collect and store cvv codes online, doing this might not only cause you to lose you your merchant account but might also result in heavy fines

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.

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...