Closed (fixed)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Payment
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2012 at 04:26 UTC
Updated:
25 Apr 2012 at 23:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
jeffamHere's the patch.
I'm no PCI expert, but a quick search revealed that the cardholder name may be stored as long as it is encrypted. I think this patch fulfills that requirement.
No worries if you don't think that this should be included. I could probably implement hook_order() in my own module to store the data on order save just like uc_credit_order() does. It would be nice to avoid the duplicate order data load and re-save, though.
Comment #2
longwaveThis alternative patch backports the method used in 7.x; instead of including selected fields, it includes all fields then truncates the card number and wipes the CVV. This will cover the start date, issue number and bank fields as well.
Comment #3
tr commented@jeffam: Does longwave's patch fix the issue for you?
Comment #4
jeffamI haven't had a chance to test longwave's patch, but looking it over, it seems like it's a bit better than my approach since it includes all fields that are present and only cleans out data that one shouldn't store.
So yes, longwave's patch is the way to go.
Thanks!
Comment #5
longwaveCommitted #2