Skip to content

Commit

Permalink
Fix for "Please provide a valid CSC."
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Fernandez committed Aug 24, 2017
1 parent 1ce9be9 commit 4a3ad78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Message/CreditCard/AbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ protected function getCardData()
$data['CC'] = $card->getNumber();
$data['EXPYR'] = substr($card->getExpiryYear(), -2);
$data['EXPMNTH'] = str_pad($card->getExpiryMonth(), 2, '0', STR_PAD_LEFT);
$data['CSC'] = $card->getCvv();
return $data;
}
}

0 comments on commit 4a3ad78

Please sign in to comment.