Skip to content

Commit

Permalink
Various updates have been made and bugs have been fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
paytr-dev-03 committed May 5, 2023
1 parent d9daa86 commit b836257
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Webapi/Rest/Request/Deserializer/XWwwFormUrlencoded.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function deserialize($encodedBody)
}
try {
$decodedBody = $this->decoder->decode($encodedBody);
} catch (\Zend_Json_Exception $e) {
} catch (\InvalidArgumentException $e) {
if ($this->appState->getMode() !== State::MODE_DEVELOPER) {
throw new \Magento\Framework\Webapi\Exception(new Phrase('Decoding error.'));
} else {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "paytr/magento2-payment",
"description": "PayTR Magento2 Payment Module",
"type": "magento2-module",
"version": "1.2.2",
"version": "1.2.3",
"license": "MIT",
"authors": [{
"name": "PayTR Ödeme ve Elektronik Para Kuruluşu A.Ş.",
Expand Down

0 comments on commit b836257

Please sign in to comment.