1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

minor fixes for texts

This commit is contained in:
David Bomba 2021-03-30 16:10:31 +11:00
parent 9377b9cae4
commit 1af565abd3

View File

@ -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();