Comment 20 for bug 1474051

Revision history for this message
Martha Driscoll (mjdriscoll) wrote :

I tested this on a test system running evergreen 2.9.1. I found no problems paying credit card payments after the code was installed. The receipt included the last 4 digits of the credit card but did not include the expiration month and year. In the database, there are NULL values in cc_type, expire_month, expire_year, cc_first_name, cc_last_name.

I then dropped the columns in money.credit_card_payment using XXXX.schema.drop_cc_cols.sql and restarted evergreen. I made another credit card payment which went through ok. Patron payment history did not break.

I installed the clear_cc_number.srfsh script in /openils/bin and added the example cron entry. The cron job ran and removed cc numbers for transactions older than 1 month (I changed the script to 1 month from 1 year).