Changeset 2843203
- Timestamp:
- 01/04/2023 06:32:27 AM (3 years ago)
- Location:
- qh-testpay
- Files:
-
- 5 edited
-
tags/1.0.1/inc/class-qhpay-admin-page.php (modified) (1 diff)
-
tags/1.0.1/qh-testpay.php (modified) (3 diffs)
-
tags/1.0.1/readme.txt (modified) (1 diff)
-
trunk/inc/class-qhpay-admin-page.php (modified) (1 diff)
-
trunk/qh-testpay.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
qh-testpay/tags/1.0.1/inc/class-qhpay-admin-page.php
r2771861 r2843203 261 261 </select> 262 262 </td> 263 <tr> 263 </tr> 264 <tr> 265 <th scope="row"><?php echo __('Webhook', 'qh-testpay') ?></th> 266 <td> 267 <input type="text" name="settings[webhook]" id="webhook" value="<?php echo isset($settings['webhook'])? $settings['webhook']:'' ?>"/> 268 </td> 269 </tr> 264 270 <tr> 265 271 <th scope="row"><?php echo __('Auto check user paid', 'qh-testpay') ?></th> -
qh-testpay/tags/1.0.1/qh-testpay.php
r2771861 r2843203 2 2 3 3 /** 4 * Plugin Name: Thanh Toán Quét Mã QR Code Tự Động cho WooCommerce4 * Plugin Name: Thanh Toán Quét Mã QR Code Tự Động cho E-commerce 5 5 * Plugin URI: https://tichhopthanhtoan.dev4vn.com 6 6 * Description: Tự động xác nhận thanh toán quét mã QR Code MoMo, ViettelPay, VNPay, Vietcombank, Vietinbank, Techcombank, MB, ACB, VPBank, TPBank.. … … 9 9 * Text Domain: qh-testpay 10 10 * Domain Path: /languages 11 * Version: 1.0. 111 * Version: 1.0.2 12 12 * License: GNU General Public License v3.0 13 13 */ … … 616 616 if(empty($result['error'])) break; 617 617 } 618 //other webhook 619 if(!empty($this->settings['webhook']) && filter_var($this->settings['webhook'], FILTER_VALIDATE_URL)) { 620 $resp = wp_remote_post ($this->settings['webhook'], [ 621 'method' => 'POST', 622 'timeout' => 45, 623 'redirection' => 5, 624 'httpversion' => '1.0', 625 'blocking' => false,//true 626 'headers' => array('Content-Type: application/json'), 627 'sslverify' => false, 628 'body'=> $txtBody,//json_decode($txtBody,true) 629 ]); 630 if ( is_wp_error( $resp ) ) $result['msg'][] = $resp->get_error_message(); 631 } 632 //end 618 633 $result['msg'] = join(". ", $result['msg']); 619 634 wp_send_json($result); -
qh-testpay/tags/1.0.1/readme.txt
r2766851 r2843203 4 4 - Tags: woocommerce, payment gateway, gateway, ket noi ngan hang, vietcombank, techcombank, plugin thanh toan, acb, ocb, msb, scb, shb, mbbank, sacombank, vpbank, hdbank, momo, viettelpay, vnpay, vietinbank, bidv, agribank, vib, abbank, bac a bank, eximbank, nam a bank, ncb, seabank, lienvietpostbank, viet capital bank, timo, timo plus, cake, tnex, MoMo, thanh toán momo, quét mã qr, quét qr code, ViettelPay, VNPay, thanh toán ngân hàng, Vietcombank, VietinBank, Techcombank, MB, ACB, VPBank, BIDV, TPBank, HDBank, Agribank, VIB, Sacombank, OCB, MSB, LienVietPostBank, Viet Capital Bank, Timo, Cake, TNEX 5 5 - Requires WooCommerce at least: 2.1 6 - Stable Tag: 1.0. 17 - Version: 1.0. 18 - Tested up to: 6.0. 06 - Stable Tag: 1.0.2 7 - Version: 1.0.2 8 - Tested up to: 6.0.2 9 9 - Author URI: https://dev4vn.com 10 10 - Plugin URI: https://tichhopthanhtoan.dev4vn.com/ -
qh-testpay/trunk/inc/class-qhpay-admin-page.php
r2771861 r2843203 261 261 </select> 262 262 </td> 263 <tr> 263 </tr> 264 <tr> 265 <th scope="row"><?php echo __('Webhook', 'qh-testpay') ?></th> 266 <td> 267 <input type="text" name="settings[webhook]" id="webhook" value="<?php echo isset($settings['webhook'])? $settings['webhook']:'' ?>"/> 268 </td> 269 </tr> 264 270 <tr> 265 271 <th scope="row"><?php echo __('Auto check user paid', 'qh-testpay') ?></th> -
qh-testpay/trunk/qh-testpay.php
r2782874 r2843203 616 616 if(empty($result['error'])) break; 617 617 } 618 //other webhook 619 if(!empty($this->settings['webhook']) && filter_var($this->settings['webhook'], FILTER_VALIDATE_URL)) { 620 $resp = wp_remote_post ($this->settings['webhook'], [ 621 'method' => 'POST', 622 'timeout' => 45, 623 'redirection' => 5, 624 'httpversion' => '1.0', 625 'blocking' => false,//true 626 'headers' => array('Content-Type: application/json'), 627 'sslverify' => false, 628 'body'=> $txtBody,//json_decode($txtBody,true) 629 ]); 630 if ( is_wp_error( $resp ) ) $result['msg'][] = $resp->get_error_message(); 631 } 632 //end 618 633 $result['msg'] = join(". ", $result['msg']); 619 634 wp_send_json($result);
Note: See TracChangeset
for help on using the changeset viewer.