Skip to content

Commit

Permalink
Refactoring creditCard.phtml template
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaMelazzo committed Jul 19, 2023
1 parent 72266a6 commit 3194edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Block/Payment/Info/CreditCard.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function getTransactionInfo()
return [];
}

$charge = $orderObject->getCharges()[0];
$charge = current($orderObject->getCharges());

return array_merge(
$charge->getAcquirerTidCapturedAndAutorize(),
Expand Down

0 comments on commit 3194edf

Please sign in to comment.