minor fixes for texts
This commit is contained in:
parent
9377b9cae4
commit
1af565abd3
1 changed files with 3 additions and 0 deletions
|
|
@ -211,6 +211,9 @@ class AuthorizeCreditCard
|
|||
{
|
||||
$response = $data['response'];
|
||||
|
||||
$code = '';
|
||||
$description = '';
|
||||
|
||||
if($response->getTransactionResponse()->getMessages() !== null){
|
||||
$code = $response->getTransactionResponse()->getMessages()[0]->getCode();
|
||||
$description = $response->getTransactionResponse()->getMessages()[0]->getDescription();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue