Changeset 2531558
- Timestamp:
- 05/14/2021 07:14:29 AM (3 years ago)
- Location:
- woocommerce-gateway-eway
- Files:
-
- 24 added
- 8 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-gateway-eway/tags/3.2.0/changelog.txt
r2421668 r2531558 1 1 *** WooCommerce eWAY Gateway Changelog *** 2 3 4 5 6 2 7 3 8 = 3.1.25 - 2020-11-19 = -
woocommerce-gateway-eway/tags/3.2.0/includes/class-wc-gateway-eway.php
r2421668 r2531558 69 69 } 70 70 71 // Enqueu some JS functions and CSS71 // Enqueu 72 72 add_filter( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); 73 73 … … 198 198 199 199 // Required fields check 200 if ( ! $this->customer_api &&! $this->customer_password ) {200 if ( ! $this->customer_api ! $this->customer_password ) { 201 201 $is_available = false; 202 202 } … … 308 308 self::log( $order_id . ': Redirecting to thanks url' ); 309 309 310 // return to thankyou page if successfull310 // 311 311 return array( 312 312 'result' => 'success', … … 317 317 self::log( $order_id . ': Processing payment with token failed - ' . $e->getMessage() ); 318 318 wc_add_notice( $e->getMessage(), 'error' ); 319 return; 319 return array( 320 'message' => $e->getMessage(), 321 ); 320 322 } 321 323 } … … 491 493 self::log( 'Response listener result: ' . print_r( $result, true ) ); 492 494 493 // Use InvoiceRef temp, until l eWAY sorts out empty options echo495 // Use InvoiceRef temp, until 494 496 $order = wc_get_order( intval( $result->InvoiceReference ) ); 495 497 -
woocommerce-gateway-eway/tags/3.2.0/readme.txt
r2421668 r2531558 3 3 Tags: credit card, eway, payment request, gateway, woocommerce, automattic 4 4 Requires at least: 4.4 5 Tested up to: 5. 46 Stable tag: 3. 1.255 Tested up to: 5. 6 Stable tag: 3. 7 7 Requires PHP: 5.6 8 8 License: GPLv3 … … 84 84 == Changelog == 85 85 86 87 88 89 90 86 91 = 3.1.25 - 2020-11-19 = 87 92 * Fix - Allow all-zero CVNs to be used during checkout. -
woocommerce-gateway-eway/tags/3.2.0/woocommerce-gateway-eway.php
r2421668 r2531558 6 6 * Author: WooCommerce 7 7 * Author URI: https://woocommerce.com/ 8 * Version: 3. 1.258 * Version: 3. 9 9 * Text Domain: wc-eway 10 10 * Domain Path: /languages 11 11 * Requires at least: 4.4 12 * Tested up to: 5. 413 * WC tested up to: 4.012 * Tested up to: 5. 13 * WC tested up to: 14 14 * WC requires at least: 2.6 15 * Copyright: © 202 0WooCommerce15 * Copyright: © 202 WooCommerce 16 16 * License: GNU General Public License v3.0 17 17 * License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 22 22 } 23 23 24 define( 'WOOCOMMERCE_GATEWAY_EWAY_VERSION', '3.1.25' ); // WRCS: DEFINED_VERSION. 24 define( 'WOOCOMMERCE_GATEWAY_EWAY_VERSION', '3.2.0' ); // WRCS: DEFINED_VERSION. 25 define( 'WOOCOMMERCE_GATEWAY_EWAY_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) ); 26 define( 'WOOCOMMERCE_GATEWAY_EWAY_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) ); 25 27 26 28 add_action( 'plugins_loaded', 'woocommerce_eway_init', 0 ); … … 86 88 return array_merge( $plugin_links, $links ); 87 89 } 90 91 92 93 94 95 96 97 98 99 100 101 102 103 -
woocommerce-gateway-eway/trunk/changelog.txt
r2421668 r2531558 1 1 *** WooCommerce eWAY Gateway Changelog *** 2 3 4 5 6 2 7 3 8 = 3.1.25 - 2020-11-19 = -
woocommerce-gateway-eway/trunk/includes/class-wc-gateway-eway.php
r2421668 r2531558 69 69 } 70 70 71 // Enqueu some JS functions and CSS71 // Enqueu 72 72 add_filter( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); 73 73 … … 198 198 199 199 // Required fields check 200 if ( ! $this->customer_api &&! $this->customer_password ) {200 if ( ! $this->customer_api ! $this->customer_password ) { 201 201 $is_available = false; 202 202 } … … 308 308 self::log( $order_id . ': Redirecting to thanks url' ); 309 309 310 // return to thankyou page if successfull310 // 311 311 return array( 312 312 'result' => 'success', … … 317 317 self::log( $order_id . ': Processing payment with token failed - ' . $e->getMessage() ); 318 318 wc_add_notice( $e->getMessage(), 'error' ); 319 return; 319 return array( 320 'message' => $e->getMessage(), 321 ); 320 322 } 321 323 } … … 491 493 self::log( 'Response listener result: ' . print_r( $result, true ) ); 492 494 493 // Use InvoiceRef temp, until l eWAY sorts out empty options echo495 // Use InvoiceRef temp, until 494 496 $order = wc_get_order( intval( $result->InvoiceReference ) ); 495 497 -
woocommerce-gateway-eway/trunk/readme.txt
r2421668 r2531558 3 3 Tags: credit card, eway, payment request, gateway, woocommerce, automattic 4 4 Requires at least: 4.4 5 Tested up to: 5. 46 Stable tag: 3. 1.255 Tested up to: 5. 6 Stable tag: 3. 7 7 Requires PHP: 5.6 8 8 License: GPLv3 … … 84 84 == Changelog == 85 85 86 87 88 89 90 86 91 = 3.1.25 - 2020-11-19 = 87 92 * Fix - Allow all-zero CVNs to be used during checkout. -
woocommerce-gateway-eway/trunk/woocommerce-gateway-eway.php
r2421668 r2531558 6 6 * Author: WooCommerce 7 7 * Author URI: https://woocommerce.com/ 8 * Version: 3. 1.258 * Version: 3. 9 9 * Text Domain: wc-eway 10 10 * Domain Path: /languages 11 11 * Requires at least: 4.4 12 * Tested up to: 5. 413 * WC tested up to: 4.012 * Tested up to: 5. 13 * WC tested up to: 14 14 * WC requires at least: 2.6 15 * Copyright: © 202 0WooCommerce15 * Copyright: © 202 WooCommerce 16 16 * License: GNU General Public License v3.0 17 17 * License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 22 22 } 23 23 24 define( 'WOOCOMMERCE_GATEWAY_EWAY_VERSION', '3.1.25' ); // WRCS: DEFINED_VERSION. 24 define( 'WOOCOMMERCE_GATEWAY_EWAY_VERSION', '3.2.0' ); // WRCS: DEFINED_VERSION. 25 define( 'WOOCOMMERCE_GATEWAY_EWAY_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) ); 26 define( 'WOOCOMMERCE_GATEWAY_EWAY_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) ); 25 27 26 28 add_action( 'plugins_loaded', 'woocommerce_eway_init', 0 ); … … 86 88 return array_merge( $plugin_links, $links ); 87 89 } 90 91 92 93 94 95 96 97 98 99 100 101 102 103
Note: See TracChangeset
for help on using the changeset viewer.