WooCommerce PayPal Powered by Braintree Payment Gateway - Version 2.3.5

Version Description

Download this release

Release Info

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

Code changes from version 2.3.4 to 2.3.5

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.3.4';
92
 
93
  /** Braintree JS SDK version */
94
  const BRAINTREE_JS_SDK_VERSION = '3.48.0';
88
 
89
 
90
  /** plugin version number */
91
+ const VERSION = '2.3.5';
92
 
93
  /** Braintree JS SDK version */
94
  const BRAINTREE_JS_SDK_VERSION = '3.48.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.3.4\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://woocommerce.com/my-account/marketplace-ticket-form/\n"
8
- "POT-Creation-Date: 2019-12-10 16:17:58+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -383,7 +383,7 @@ msgid "%1$s %2$s %3$s Approved"
383
  msgstr ""
384
 
385
  #: includes/class-wc-gateway-braintree-paypal.php:538
386
- #: includes/class-wc-gateway-braintree.php:1337
387
  msgid "Sandbox"
388
  msgstr ""
389
 
@@ -548,31 +548,31 @@ msgstr ""
548
  msgid "Click button to create an account with Braintree and start transacting."
549
  msgstr ""
550
 
551
- #: includes/class-wc-gateway-braintree.php:607
552
  msgid "Add merchant account ID for %s"
553
  msgstr ""
554
 
555
- #: includes/class-wc-gateway-braintree.php:614
556
  msgid "Add merchant account ID"
557
  msgstr ""
558
 
559
- #: includes/class-wc-gateway-braintree.php:713
560
  msgid "Add merchant account ID for "
561
  msgstr ""
562
 
563
- #: includes/class-wc-gateway-braintree.php:811
564
  msgid "Merchant Account ID (%s)"
565
  msgstr ""
566
 
567
- #: includes/class-wc-gateway-braintree.php:822
568
  msgid "Enter merchant account ID"
569
  msgstr ""
570
 
571
- #: includes/class-wc-gateway-braintree.php:823
572
  msgid "Remove this merchant account ID"
573
  msgstr ""
574
 
575
- #: includes/class-wc-gateway-braintree.php:1337
576
  msgid "Production"
577
  msgstr ""
578
 
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.3.5\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://woocommerce.com/my-account/marketplace-ticket-form/\n"
8
+ "POT-Creation-Date: 2019-12-12 17:28:54+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
383
  msgstr ""
384
 
385
  #: includes/class-wc-gateway-braintree-paypal.php:538
386
+ #: includes/class-wc-gateway-braintree.php:1336
387
  msgid "Sandbox"
388
  msgstr ""
389
 
548
  msgid "Click button to create an account with Braintree and start transacting."
549
  msgstr ""
550
 
551
+ #: includes/class-wc-gateway-braintree.php:606
552
  msgid "Add merchant account ID for %s"
553
  msgstr ""
554
 
555
+ #: includes/class-wc-gateway-braintree.php:613
556
  msgid "Add merchant account ID"
557
  msgstr ""
558
 
559
+ #: includes/class-wc-gateway-braintree.php:712
560
  msgid "Add merchant account ID for "
561
  msgstr ""
562
 
563
+ #: includes/class-wc-gateway-braintree.php:810
564
  msgid "Merchant Account ID (%s)"
565
  msgstr ""
566
 
567
+ #: includes/class-wc-gateway-braintree.php:821
568
  msgid "Enter merchant account ID"
569
  msgstr ""
570
 
571
+ #: includes/class-wc-gateway-braintree.php:822
572
  msgid "Remove this merchant account ID"
573
  msgstr ""
574
 
575
+ #: includes/class-wc-gateway-braintree.php:1336
576
  msgid "Production"
577
  msgstr ""
578
 
includes/class-wc-gateway-braintree.php CHANGED
@@ -523,8 +523,7 @@ class WC_Gateway_Braintree extends WC_Braintree_Framework\SV_WC_Payment_Gateway_
523
  $production_connect_url = 'https://connect.woocommerce.com/login/braintree';
524
  $sandbox_connect_url = 'https://connect.woocommerce.com/login/braintreesandbox';
525
 
526
- $redirect_url = wp_nonce_url( $this->get_plugin()->get_payment_gateway_configuration_url( $this->get_id() ), 'connect_paypal_braintree', 'wc_paypal_braintree_admin_nonce' );
527
-
528
  $current_user = wp_get_current_user();
529
 
530
  // Note: We doubly urlencode the redirect url to avoid Braintree's server
523
  $production_connect_url = 'https://connect.woocommerce.com/login/braintree';
524
  $sandbox_connect_url = 'https://connect.woocommerce.com/login/braintreesandbox';
525
 
526
+ $redirect_url = add_query_arg( 'wc_paypal_braintree_admin_nonce', wp_create_nonce( 'connect_paypal_braintree' ), $this->get_plugin()->get_payment_gateway_configuration_url( $this->get_id() ) );
 
527
  $current_user = wp_get_current_user();
528
 
529
  // Note: We doubly urlencode the redirect url to avoid Braintree's server
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: ecommerce, e-commerce, commerce, woothemes, wordpress ecommerce, store, sa
4
  Requires at least: 4.4
5
  Tested up to: 5.3
6
  Requires PHP: 5.4
7
- Stable tag: 2.3.4
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.12.10 - version 2.3.4 =
128
  * Tweak - Display informative message when 3D Secure fails due to unsupported characters in the customer name
129
 
4
  Requires at least: 4.4
5
  Tested up to: 5.3
6
  Requires PHP: 5.4
7
+ Stable tag: 2.3.5
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
124
 
125
  == Changelog ==
126
 
127
+ = 2019.12.12 - version 2.3.5 =
128
+ * Fix - Fix redirect URL encoding when connecting via Braintree Auth
129
+
130
  = 2019.12.10 - version 2.3.4 =
131
  * Tweak - Display informative message when 3D Secure fails due to unsupported characters in the customer name
132
 
woocommerce-gateway-paypal-powered-by-braintree.php CHANGED
@@ -5,7 +5,7 @@
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.3.4
9
  * Text Domain: woocommerce-gateway-paypal-powered-by-braintree
10
  * Domain Path: /i18n/languages/
11
  *
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.3.5
9
  * Text Domain: woocommerce-gateway-paypal-powered-by-braintree
10
  * Domain Path: /i18n/languages/
11
  *