- Authorieaim : Change format of the stored credit card

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9628 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vSchoener
2011-10-25 13:33:28 +00:00
parent d21e3d37ac
commit e19fdabc20
+1 -1
View File
@@ -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];