WooCommerce PayPal Powered by Braintree Payment Gateway - Version 2.2.3

Version Description

Download this release

Release Info

Developer SkyVerge
Plugin Icon 128x128 WooCommerce PayPal Powered by Braintree Payment Gateway
Version 2.2.3
Comparing to
See all releases

Code changes from version 2.2.2 to 2.2.3

class-wc-braintree.php CHANGED
@@ -88,7 +88,7 @@ class WC_Braintree extends WC_Braintree_Framework\SV_WC_Payment_Gateway_Plugin {
88
 
89
 
90
  /** plugin version number */
91
- const VERSION = '2.2.2';
92
 
93
  /** Braintree JS SDK version */
94
  const BRAINTREE_JS_SDK_VERSION = '3.38.0';
88
 
89
 
90
  /** plugin version number */
91
+ const VERSION = '2.2.3';
92
 
93
  /** Braintree JS SDK version */
94
  const BRAINTREE_JS_SDK_VERSION = '3.38.0';
i18n/languages/woocommerce-gateway-paypal-powered-by-braintree.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the same license as the WooCommerce PayPal Powered by Braintree Gateway package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce PayPal Powered by Braintree Gateway 2.2.2\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://woocommerce.com/my-account/marketplace-ticket-form/\n"
8
- "POT-Creation-Date: 2019-02-28 23:59:10+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -245,14 +245,14 @@ msgstr ""
245
  msgid "Display and Require the Card Security Code (CVV/CID) field on checkout"
246
  msgstr ""
247
 
248
- #: includes/class-wc-gateway-braintree-credit-card.php:925
249
  #: includes/payment-forms/class-wc-braintree-hosted-fields-payment-form.php:138
250
  msgid ""
251
  "We cannot process your order with the payment information that you "
252
  "provided. Please use an alternate payment method."
253
  msgstr ""
254
 
255
- #: includes/class-wc-gateway-braintree-credit-card.php:933
256
  #: includes/class-wc-gateway-braintree.php:155
257
  msgid ""
258
  "Oops, there was a temporary payment error. Please try another payment "
2
  # This file is distributed under the same license as the WooCommerce PayPal Powered by Braintree Gateway package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce PayPal Powered by Braintree Gateway 2.2.3\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://woocommerce.com/my-account/marketplace-ticket-form/\n"
8
+ "POT-Creation-Date: 2019-03-20 16:14:44+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
245
  msgid "Display and Require the Card Security Code (CVV/CID) field on checkout"
246
  msgstr ""
247
 
248
+ #: includes/class-wc-gateway-braintree-credit-card.php:926
249
  #: includes/payment-forms/class-wc-braintree-hosted-fields-payment-form.php:138
250
  msgid ""
251
  "We cannot process your order with the payment information that you "
252
  "provided. Please use an alternate payment method."
253
  msgstr ""
254
 
255
+ #: includes/class-wc-gateway-braintree-credit-card.php:934
256
  #: includes/class-wc-gateway-braintree.php:155
257
  msgid ""
258
  "Oops, there was a temporary payment error. Please try another payment "
includes/class-wc-gateway-braintree-credit-card.php CHANGED
@@ -566,8 +566,8 @@ class WC_Gateway_Braintree_Credit_Card extends WC_Gateway_Braintree {
566
 
567
  $environment = 'BraintreeData.environments.' . ( $this->is_test_environment() ? 'sandbox' : 'production' );
568
 
569
- if ( $this->is_kount_direct_enabled() ) {
570
- $environment .= '.withId' . $this->get_kount_merchant_id();
571
  }
572
 
573
  // TODO: consider moving this to it's own file
@@ -577,6 +577,7 @@ class WC_Gateway_Braintree_Credit_Card extends WC_Gateway_Braintree {
577
  jQuery( function ( $ ) {
578
 
579
  var form_id;
 
580
 
581
  if ( $( 'form.checkout' ).length ) {
582
 
566
 
567
  $environment = 'BraintreeData.environments.' . ( $this->is_test_environment() ? 'sandbox' : 'production' );
568
 
569
+ if ( $this->is_kount_direct_enabled() && $this->get_kount_merchant_id() ) {
570
+ $environment .= '.withId( kount_id )'; // kount_id will be defined before this is output
571
  }
572
 
573
  // TODO: consider moving this to it's own file
577
  jQuery( function ( $ ) {
578
 
579
  var form_id;
580
+ var kount_id = '<?php echo esc_js( $this->get_kount_merchant_id() ); ?>';
581
 
582
  if ( $( 'form.checkout' ).length ) {
583
 
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: automattic, akeda, allendav, royho, slash1andy, woosteve, spraveenitpro, mikedmoore, fernashes, shellbeezy, danieldudzic, dsmithweb, fullysupportedphil, corsonr, zandyring, skyverge
3
  Tags: ecommerce, e-commerce, commerce, woothemes, wordpress ecommerce, store, sales, sell, shop, shopping, cart, checkout, configurable, paypal, braintree
4
  Requires at least: 4.4
5
- Tested up to: 5.1
6
  Requires PHP: 5.4
7
- Stable tag: 2.2.2
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -124,6 +124,9 @@ New feature requests and bugs reports can be made in the plugin forum.
124
 
125
  == Changelog ==
126
 
 
 
 
127
  = 2019.02.28 - version 2.2.2 =
128
  * Fix - Prevent JS errors when reloading the payment form in IE and Edge
129
 
2
  Contributors: automattic, akeda, allendav, royho, slash1andy, woosteve, spraveenitpro, mikedmoore, fernashes, shellbeezy, danieldudzic, dsmithweb, fullysupportedphil, corsonr, zandyring, skyverge
3
  Tags: ecommerce, e-commerce, commerce, woothemes, wordpress ecommerce, store, sales, sell, shop, shopping, cart, checkout, configurable, paypal, braintree
4
  Requires at least: 4.4
5
+ Tested up to: 5.1.1
6
  Requires PHP: 5.4
7
+ Stable tag: 2.2.3
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
124
 
125
  == Changelog ==
126
 
127
+ = 2019.03.20 - version 2.2.3 =
128
+ * Fix - Ensure Kount merchant ID is set in device data for stores using advanced fraud tools via Kount
129
+
130
  = 2019.02.28 - version 2.2.2 =
131
  * Fix - Prevent JS errors when reloading the payment form in IE and Edge
132
 
woocommerce-gateway-paypal-powered-by-braintree.php CHANGED
@@ -5,12 +5,12 @@
5
  * Description: Receive credit card or PayPal payments using Paypal Powered by Braintree. A server with cURL, SSL support, and a valid SSL certificate is required (for security reasons) for this gateway to function. Requires PHP 5.4+
6
  * Author: WooCommerce
7
  * Author URI: http://woocommerce.com/
8
- * Version: 2.2.2
9
  * Text Domain: woocommerce-gateway-paypal-powered-by-braintree
10
  * Domain Path: /i18n/languages/
11
  *
12
  * WC requires at least: 2.6.14
13
- * WC tested up to: 3.5.5
14
  *
15
  * Copyright (c) 2016-2019, Automattic, Inc.
16
  *
5
  * Description: Receive credit card or PayPal payments using Paypal Powered by Braintree. A server with cURL, SSL support, and a valid SSL certificate is required (for security reasons) for this gateway to function. Requires PHP 5.4+
6
  * Author: WooCommerce
7
  * Author URI: http://woocommerce.com/
8
+ * Version: 2.2.3
9
  * Text Domain: woocommerce-gateway-paypal-powered-by-braintree
10
  * Domain Path: /i18n/languages/
11
  *
12
  * WC requires at least: 2.6.14
13
+ * WC tested up to: 3.5.7
14
  *
15
  * Copyright (c) 2016-2019, Automattic, Inc.
16
  *