osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Credit Card Number Encryption

This is a discussion on Credit Card Number Encryption within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; GREAT Contribution! I'm not sure why, but I had some difficultly with the encrypt_ccnum.php script which applies encryption to past ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 02-11-2008, 12:50 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,979
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Credit Card Number Encryption

GREAT Contribution!

I'm not sure why, but I had some difficultly with the encrypt_ccnum.php script which applies encryption to past orders. I had over 8000 records to update and it would crap out after about 500 or so updates (some records would get encrypted but the remaining would be untouched).

I could tell that something wasn't quite right because the browser did not display the last line of output:

Print '
Updating completed!';

But there were no other error messages. Maybe its the type of table I'm using (transaction logged?) I dont know. I never got down to the true source of the problem, but the quicker fix was to make the page choose 250 un-encrypted records at a time and encrypt them. Then, it all worked. If you have more than 250 records, just keep refreshing until all records are encrypted. Also added an COMMIT statement after each batch of 250 updates - didnt seem to make a difference and didnt hurt, so I left it there..

Decided not to create a new full package because this problem may not apply to everyone.

More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Credit Card Number Encryption michael_s New osCommerce Contributions 0 10-16-2007 01:23 AM
Credit Card Verification Number gamerevolt osCMax v2 Customization/Mods 1 09-08-2006 11:29 AM
GPG Credit Card Encryption payment method not showing up. Nocturnaloner osCMax v1.7 Discussion 0 05-01-2005 05:09 PM
Credit Card number problems! bibleman osCommerce 2.2 Modification Help 4 08-11-2004 12:15 PM
credit card encryption in database suba osCommerce 2.2 Modification Help 4 05-02-2004 02:25 AM


All times are GMT -8. The time now is 01:45 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax