Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cc Numbers Not Stored In Orders Table


jderoo

Recommended Posts

The organization I am with has been handling CC orders manually for years and they do not want to switch to an automated gateway. When our OSCommerce was setup, some tests were run and it appeared that the CC information was stored in the database and reported when the office manager looked at the orders page. However, now the CC information does not appear in the report for new orders (it is still there for one of our early test orders). I have dumped the MySQL "orders" table and confirmed the data is not there, either. In one of the posts here I noticed someone mentioning that they had enabled the "send the middle digits of the CC number" feature and it seemed to work for him/her, so I tried it. Now it does seem to save the outer digits in the database and email the inner ones, but the expiration date is not stored or emailed.

 

Any Suggestions?

Link to comment
Share on other sites

  • 2 weeks later...

I have been trying to figure this out for several days and my PHP/MySQL-fu isn't good enough. I would greatly appreciate it if someone could at least point me in the right general direction.

 

Thanks!

Link to comment
Share on other sites

What payment module are you using to achieve this? Sounds like you might just need to remove it and install it again.

 

Also have you installed any new contributions like fancier invoice and packaging?

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

Link to comment
Share on other sites

What payment module are you using to achieve this? Sounds like you might just need to remove it and install it again.

 

Just the "Credit Card Module". I inherited the setup, so I'm not sure if it is plain vanilla or has been modified.

 

As a temporary fix, I am trying to add the expiration date to the email with the middle digits. It seems like it should work, but it seems like a hack.

 

Also have you installed any new contributions like fancier invoice and packaging?

 

The store is based in Florida, so we had to apply the FL County tax contribution modification, which is based on the NY County/City tax mod. I've tried backing that out, but then the whole thing hangs with php errors. I got past a couple of them by not removing the new table from the includes/database_tables.php when I revert, but then I get a blank screen later when I try to checkout.

 

Thanks!

Link to comment
Share on other sites

So you are trying to add the entire cc number and expiration date in the email? If I am understanding that correctly that is a no no by the credit card companies.

 

You are running the base module and by design nothing should be able to be stored into the DB by default. You can try going into your admin>modules>payment and trying remove the credit card module and install it again.

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

Link to comment
Share on other sites

So you are trying to add the entire cc number and expiration date in the email? If I am understanding that correctly that is a no no by the credit card companies.

 

No - the module breaks up the CC number and stores some of the digits in the DB and sends the rest in an email. The problem we were having is that it didn't store the expiration date anywhere. And, I got some information from one of the other people who have been working on this site. He said that at first, all of the information was being stored in the db, but then he enable the send-the-middle-digits feature, at which point we lost storage of the expiration date, and, even when we turn the send-the-middle-digits-off now it still doesn't save the information.

 

So what I did was add the expiration date to the middle-digits email in cc.php, and that seems to be sufficient, at least for now.

 

You are running the base module and by design nothing should be able to be stored into the DB by default. You can try going into your admin>modules>payment and trying remove the credit card module and install it again.

 

I will do that if the change I made above does not work.

 

Thank you very much for taking the time to answer!

Link to comment
Share on other sites

Oh ok gotcha. Well really the only thing I can suggest is try to uninstall the contribution or module and then reinstall it.

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

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.
Note: Your post will require moderator approval before it will be visible.

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