- Authorieaim : Change format of the stored credit card
This commit is contained in:
@@ -220,7 +220,7 @@ class authorizeAIM extends PaymentModule
|
||||
$pcc->transaction_id = (string)$response[6];
|
||||
|
||||
// 50 => Card number (XXXX0000)
|
||||
$pcc->card_number = (string)$response[50];
|
||||
$pcc->card_number = (string)substr($response[50], -4);
|
||||
|
||||
// 51 => Card Mark (Visa, Master card)
|
||||
$pcc->card_brand = (string)$response[51];
|
||||
|
||||
Reference in New Issue
Block a user