Skip to content

Commit

Permalink
add: release
Browse files Browse the repository at this point in the history
  • Loading branch information
jyyan committed Apr 18, 2022
1 parent 38ac566 commit 97b6f36
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Binary file not shown.
4 changes: 4 additions & 0 deletions src/includes/class-wc-gateway-mypay.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,10 @@ public function receipt_page($order_id)
$order->save();
$this->jump_page($res_json);
} else {
// 儲存交易錯誤訊息至訂單中
$order->add_order_note($result);
$order->add_order_note("交易發生錯誤!請確認以下交易請求錯誤訊息:");
$order->save();
throw new Exception($res_json['msg']);
}
exit;
Expand Down
2 changes: 1 addition & 1 deletion src/integration_plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Plugin Name: WooCommerce MYPay Payment
* Plugin URI: https://www.mypay.com.tw
* Description: MYPay Integration Payment Gateway for WooCommerce
* Version: 1.2.20210305
* Version: 1.2.20220418
* Requires at least: 5.3
* Requires PHP: 7.2
* License: GPL v2 or later
Expand Down
2 changes: 1 addition & 1 deletion src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: ecommerce, e-commerce, store, sales, sell, shop, cart, checkout, payment,
Requires at least: wordpress 5.3, WooCommerce 3.5
Tested up to: wordpress 5.5.1, WooCommerce 4.6.1
Requires PHP: 7.2 or later
Stable tag: 1.2.20220321
Stable tag: 1.2.20220418
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down

0 comments on commit 97b6f36

Please sign in to comment.