Changeset 2523108
- Timestamp:
- 04/29/2021 05:24:40 AM (5 years ago)
- Location:
- woo-pelecard-gateway/trunk
- Files:
-
- 5 edited
-
includes/Gateway.php (modified) (2 diffs)
-
includes/Plugin.php (modified) (1 diff)
-
includes/Transaction.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
woocommerce-pelecard-gateway.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
woo-pelecard-gateway/trunk/includes/Gateway.php
r2520937 r2523108 1190 1190 } 1191 1191 1192 // Security check 1193 if ( ! $transaction->validate() ) { 1194 return; 1195 } 1192 // Catch 3DSecure failures 1193 $transaction->set_validate( ! $transaction->is_3ds_failure() ); 1196 1194 1197 1195 if ( is_add_payment_method_page() ) { … … 1229 1227 wp_redirect( wc_get_endpoint_url( 'add-payment-method' ) ); 1230 1228 exit(); 1229 } 1230 1231 // Security check 1232 if ( ! $transaction->validate() ) { 1233 return; 1231 1234 } 1232 1235 -
woo-pelecard-gateway/trunk/includes/Plugin.php
r2520937 r2523108 18 18 * @var string $version 19 19 */ 20 public static $version = '1.4. 4';20 public static $version = '1.4.5'; 21 21 22 22 /** -
woo-pelecard-gateway/trunk/includes/Transaction.php
r2460563 r2523108 36 36 * 37 37 * @param string $transaction_id 38 * @param int $order_id39 38 */ 40 39 public function __construct( string $transaction_id = '' ) { … … 509 508 return 301 === (int) $this->get_status_code(); 510 509 } 510 511 /** 512 * @return bool 513 */ 514 public function is_3ds_failure(): bool { 515 return 650 === (int) $this->get_status_code(); 516 } 511 517 } -
woo-pelecard-gateway/trunk/readme.txt
r2520937 r2523108 4 4 Requires at least: 5.3 5 5 Tested up to: 5.7 6 Stable tag: 1.4. 46 Stable tag: 1.4.5 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 55 55 56 56 == Changelog == 57 58 = 1.4.5 = 59 * Bypass validation for 3DS failed transactions. 57 60 58 61 = 1.4.4 = -
woo-pelecard-gateway/trunk/woocommerce-pelecard-gateway.php
r2520937 r2523108 4 4 * Plugin URI: https://wordpress.org/plugins/woo-pelecard-gateway/ 5 5 * Description: Extends WooCommerce with Pelecard payment gateway. 6 * Version: 1.4. 46 * Version: 1.4.5 7 7 * Author: Ido Friedlander 8 8 * Author URI: https://profiles.wordpress.org/idofri/
Note: See TracChangeset
for help on using the changeset viewer.