Changeset 3322085
- Timestamp:
- 07/04/2025 04:42:01 AM (9 months ago)
- Location:
- sepay-gateway
- Files:
-
- 5 deleted
- 3 edited
- 11 copied
-
tags/1.1.14 (copied) (copied from sepay-gateway/trunk)
-
tags/1.1.14/assets/css/sepay.css (copied) (copied from sepay-gateway/trunk/assets/css/sepay.css)
-
tags/1.1.14/assets/js/block/checkout.js (copied) (copied from sepay-gateway/trunk/assets/js/block/checkout.js)
-
tags/1.1.14/assets/js/sepay.js (copied) (copied from sepay-gateway/trunk/assets/js/sepay.js)
-
tags/1.1.14/css (deleted)
-
tags/1.1.14/imgs (deleted)
-
tags/1.1.14/includes/block (deleted)
-
tags/1.1.14/includes/class-sepay-woocommerce-block-checkout.php (deleted)
-
tags/1.1.14/includes/class-wc-gateway-sepay.php (copied) (copied from sepay-gateway/trunk/includes/class-wc-gateway-sepay.php)
-
tags/1.1.14/includes/class-wc-sepay-api.php (copied) (copied from sepay-gateway/trunk/includes/class-wc-sepay-api.php) (7 diffs)
-
tags/1.1.14/includes/class-wc-sepay-blocks-support.php (copied) (copied from sepay-gateway/trunk/includes/class-wc-sepay-blocks-support.php)
-
tags/1.1.14/includes/views (copied) (copied from sepay-gateway/trunk/includes/views)
-
tags/1.1.14/includes/views/oauth2-connect.php (copied) (copied from sepay-gateway/trunk/includes/views/oauth2-connect.php)
-
tags/1.1.14/js (deleted)
-
tags/1.1.14/readme.txt (copied) (copied from sepay-gateway/trunk/readme.txt) (3 diffs)
-
tags/1.1.14/sepay-gateway.php (copied) (copied from sepay-gateway/trunk/sepay-gateway.php) (1 diff)
-
trunk/includes/class-wc-sepay-api.php (modified) (7 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/sepay-gateway.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sepay-gateway/tags/1.1.14/includes/class-wc-sepay-api.php
r3290195 r3322085 21 21 'state' => $state, 22 22 ], 23 'sslverify' => false,24 23 ]); 25 24 … … 131 130 } 132 131 133 private function log_error($message, $context = []) { 132 private function log_error($message, $context = []) 133 { 134 134 if (function_exists('wc_get_logger')) { 135 135 $logger = wc_get_logger(); … … 162 162 'Authorization' => 'Bearer ' . $access_token, 163 163 'Content-Type' => 'application/json', 164 'User-Agent' => 'WooCommerce-SePay-Gateway/' . $this->get_plugin_version() . ' (WordPress/' . get_bloginfo('version') . '; WooCommerce/' . (defined('WC_VERSION') ? WC_VERSION : 'Unknown') . ')', 164 165 ], 165 'sslverify' => false,166 166 'timeout' => 30, 167 167 ]; … … 218 218 'refresh_token' => $refresh_token, 219 219 ], 220 'sslverify' => false,221 220 ]); 222 221 … … 458 457 } 459 458 460 public function check_connection_health() { 459 public function check_connection_health() 460 { 461 461 try { 462 462 $response = $this->make_request('me'); … … 473 473 } 474 474 475 public function get_connection_status() { 475 public function get_connection_status() 476 { 476 477 $access_token = get_option('wc_sepay_access_token'); 477 478 $refresh_token = get_option('wc_sepay_refresh_token'); … … 488 489 return $status; 489 490 } 491 492 private function get_plugin_version() 493 { 494 if (!function_exists('get_plugin_data')) { 495 require_once ABSPATH . 'wp-admin/includes/plugin.php'; 496 } 497 498 $plugin_file = dirname(dirname(__FILE__)) . '/sepay-gateway.php'; 499 $plugin_data = get_plugin_data($plugin_file); 500 501 return $plugin_data['Version'] ?? '1.0.0'; 502 } 490 503 } -
sepay-gateway/tags/1.1.14/readme.txt
r3306117 r3322085 4 4 - Tags: woocommerce, payment gateway, vietqr, ngan hang, thanh toan 5 5 - Requires WooCommerce at least: 2.1 6 - Stable Tag: 1.1.1 37 - Version: 1.1.1 36 - Stable Tag: 1.1.14 7 - Version: 1.1.14 8 8 - Tested up to: 6.6 9 9 - Requires at least: 5.6 … … 23 23 **Chính sách bảo mật**: [Xem tại đây](https://sepay.vn/privacy.html) 24 24 25 SePay hỗ trợ kết nối hơn 15ngân hàng để tự xác nhận thanh toán khi khách hàng chuyển khoản. Bao gồm: Vietcombank, VPBank, VIB, VietinBank, MBBank, ACB, Sacombank, TPBank, Eximbank, HDBank, BIDV, TechcomBank, MSB, ShinhanBank, Agribank, PublicBank25 SePay hỗ trợ kết nối hơn 30 ngân hàng để tự xác nhận thanh toán khi khách hàng chuyển khoản. Bao gồm: Vietcombank, VPBank, VIB, VietinBank, MBBank, ACB, Sacombank, TPBank, Eximbank, HDBank, BIDV, TechcomBank, MSB, ShinhanBank, Agribank, PublicBank 26 26 27 27 Hỗ trợ cả tài khoản cá nhân và doanh nghiệp. … … 53 53 == CHANGELOG == 54 54 55 **Version 1.1.14** - 04/07/2025: 56 - [Cải thiện] Thêm User-Agent và thông tin phiên bản plugin vào header API requests để SePay có thể theo dõi và hỗ trợ tốt hơn 57 55 58 10/04/2025: 56 59 - [Cập nhật] Mở rộng tùy chọn trạng thái đơn hàng sau khi thanh toán thành công. Giờ đây có thể chọn từ tất cả các trạng thái đơn hàng của WooCommerce thay vì chỉ giới hạn ở "Đang xử lý" và "Hoàn thành". 57 60 - [Fix lỗi] Copy số tài khoản không đúng ở trang thanh toán 58 59 11/03/2025:60 - [Tính năng mới] Cho phép WooCommerce kết nối với tài khoản của khách trên SePay để đồng bộ dữ liệu tài khoản ngân hàng, tiền tố mã thanh toán và webhook.61 62 61 63 62 15/11/2023: -
sepay-gateway/tags/1.1.14/sepay-gateway.php
r3306117 r3322085 6 6 * Author: SePay Team 7 7 * Author URI: https://sepay.vn/ 8 * Version: 1.1.1 38 * Version: 1.1.14 9 9 * Requires Plugins: woocommerce 10 10 * Text Domain: sepay-gateway -
sepay-gateway/trunk/includes/class-wc-sepay-api.php
r3290195 r3322085 21 21 'state' => $state, 22 22 ], 23 'sslverify' => false,24 23 ]); 25 24 … … 131 130 } 132 131 133 private function log_error($message, $context = []) { 132 private function log_error($message, $context = []) 133 { 134 134 if (function_exists('wc_get_logger')) { 135 135 $logger = wc_get_logger(); … … 162 162 'Authorization' => 'Bearer ' . $access_token, 163 163 'Content-Type' => 'application/json', 164 'User-Agent' => 'WooCommerce-SePay-Gateway/' . $this->get_plugin_version() . ' (WordPress/' . get_bloginfo('version') . '; WooCommerce/' . (defined('WC_VERSION') ? WC_VERSION : 'Unknown') . ')', 164 165 ], 165 'sslverify' => false,166 166 'timeout' => 30, 167 167 ]; … … 218 218 'refresh_token' => $refresh_token, 219 219 ], 220 'sslverify' => false,221 220 ]); 222 221 … … 458 457 } 459 458 460 public function check_connection_health() { 459 public function check_connection_health() 460 { 461 461 try { 462 462 $response = $this->make_request('me'); … … 473 473 } 474 474 475 public function get_connection_status() { 475 public function get_connection_status() 476 { 476 477 $access_token = get_option('wc_sepay_access_token'); 477 478 $refresh_token = get_option('wc_sepay_refresh_token'); … … 488 489 return $status; 489 490 } 491 492 private function get_plugin_version() 493 { 494 if (!function_exists('get_plugin_data')) { 495 require_once ABSPATH . 'wp-admin/includes/plugin.php'; 496 } 497 498 $plugin_file = dirname(dirname(__FILE__)) . '/sepay-gateway.php'; 499 $plugin_data = get_plugin_data($plugin_file); 500 501 return $plugin_data['Version'] ?? '1.0.0'; 502 } 490 503 } -
sepay-gateway/trunk/readme.txt
r3306117 r3322085 4 4 - Tags: woocommerce, payment gateway, vietqr, ngan hang, thanh toan 5 5 - Requires WooCommerce at least: 2.1 6 - Stable Tag: 1.1.1 37 - Version: 1.1.1 36 - Stable Tag: 1.1.14 7 - Version: 1.1.14 8 8 - Tested up to: 6.6 9 9 - Requires at least: 5.6 … … 23 23 **Chính sách bảo mật**: [Xem tại đây](https://sepay.vn/privacy.html) 24 24 25 SePay hỗ trợ kết nối hơn 15ngân hàng để tự xác nhận thanh toán khi khách hàng chuyển khoản. Bao gồm: Vietcombank, VPBank, VIB, VietinBank, MBBank, ACB, Sacombank, TPBank, Eximbank, HDBank, BIDV, TechcomBank, MSB, ShinhanBank, Agribank, PublicBank25 SePay hỗ trợ kết nối hơn 30 ngân hàng để tự xác nhận thanh toán khi khách hàng chuyển khoản. Bao gồm: Vietcombank, VPBank, VIB, VietinBank, MBBank, ACB, Sacombank, TPBank, Eximbank, HDBank, BIDV, TechcomBank, MSB, ShinhanBank, Agribank, PublicBank 26 26 27 27 Hỗ trợ cả tài khoản cá nhân và doanh nghiệp. … … 53 53 == CHANGELOG == 54 54 55 **Version 1.1.14** - 04/07/2025: 56 - [Cải thiện] Thêm User-Agent và thông tin phiên bản plugin vào header API requests để SePay có thể theo dõi và hỗ trợ tốt hơn 57 55 58 10/04/2025: 56 59 - [Cập nhật] Mở rộng tùy chọn trạng thái đơn hàng sau khi thanh toán thành công. Giờ đây có thể chọn từ tất cả các trạng thái đơn hàng của WooCommerce thay vì chỉ giới hạn ở "Đang xử lý" và "Hoàn thành". 57 60 - [Fix lỗi] Copy số tài khoản không đúng ở trang thanh toán 58 59 11/03/2025:60 - [Tính năng mới] Cho phép WooCommerce kết nối với tài khoản của khách trên SePay để đồng bộ dữ liệu tài khoản ngân hàng, tiền tố mã thanh toán và webhook.61 62 61 63 62 15/11/2023: -
sepay-gateway/trunk/sepay-gateway.php
r3306117 r3322085 6 6 * Author: SePay Team 7 7 * Author URI: https://sepay.vn/ 8 * Version: 1.1.1 38 * Version: 1.1.14 9 9 * Requires Plugins: woocommerce 10 10 * Text Domain: sepay-gateway
Note: See TracChangeset
for help on using the changeset viewer.