#6933
epschmidt
Participant

I made a change to the offline-credit-card.php file in Merchants. I am still testing this change, but it seems to be working just fine for me. As always, use at your own risk. I’m using version 1.3 and changed line 182 from this…

$stored[] = array( 'credit_card','Credit Card #',str_replace( substr( $data['ACCT'],-4,4 ),'XXXX',$data['ACCT'] ) );

To this…

$stored[] = array( 'credit_card','Credit Card #',substr_replace( $data['ACCT'], 'XXXX', -4, 4 ) );