Skip to content

Commit

Permalink
Update plugin version number
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-zhang-awx committed Apr 26, 2024
1 parent 2d478fb commit 77dc787
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Model/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ protected function checkIntent($id)
$resp = $this->intentGet->setPaymentIntentId($id)->send();

$respArr = json_decode($resp, true);
if (!in_array($respArr['status'], ["SUCCEEDED","REQUIRES_CAPTURE"])) {
if (!in_array($respArr['status'], ["SUCCEEDED","REQUIRES_CAPTURE"], true)) {
throw new \Exception("Something went wrong while processing your request. Please try again later.");
}
}
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": "airwallex/payments-plugin-magento",
"type": "magento2-module",
"description": "",
"version": "1.4.4",
"version": "1.4.5",
"require": {
"ext-json": "*",
"php": "^7.4|^8.0",
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Airwallex_Payments" setup_version="1.4.4">
<module name="Airwallex_Payments" setup_version="1.4.5">
<sequence>
<module name="Magento_Sales"/>
<module name="Magento_Payment"/>
Expand Down

0 comments on commit 77dc787

Please sign in to comment.