Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CC Number not splitting correctly!


customdezines

Recommended Posts

I am using OsCommerce for my client. She wants to be able to input the credit card info in manually(at the store), thus, I elected to use the build in credit card module. So I set it up to send her the middle digits. (which it does)

 

However, it does not store the credit card number as expected. It should show up as 1234xxxxxxxx5678 in the order. But all I get is "127" in the order form. I double checked the database, and it is in fact storing the complete CC# as "127" and NOT 1234xxxxxxxx5678.

 

What is going wrong?

The "cc_number" field in the db is set as tinyint(16) Null:yes Default:NULL

 

I hope someone replies to this in a timely manner, as I only have a few days left to finish the site, this is the last thing on my list.

I'm kinda new to OsC, but I'm picking up quickly.

Link to comment
Share on other sites

omfg, can this post be deleted? I can't believe I didn't even see this when writing it. I'm a freggin' idiot. The db field should be set to varchar(32) so it could accept the x's, jeezus.... i'm sry.

I'm kinda new to OsC, but I'm picking up quickly.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...