Skip to content

Commit

Permalink
Merge pull request #58 from elisei/Magento@2.4.6
Browse files Browse the repository at this point in the history
PagBank 😍 Magento
  • Loading branch information
elisei authored Mar 20, 2024
2 parents e01751b + 64aa9be commit f2d5e51
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Controller/Notification/All.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@ public function execute()

$psData = $this->json->unserialize($response);

if (!isset($psData['id'])) {
return $this->createResult(
200,
[
'error' => 200,
'message' => __('Not apply.'),
]
);
};

$psPaymentId = $psData['id'];

$this->logger->debug([
Expand Down

0 comments on commit f2d5e51

Please sign in to comment.