*** Changelog *** = 2.6.2 - 2021-11-16 = * Feature - Add support for disabling funding methods * Feature - Allow updating of expiration dates for credit cards in 'My Account' * Tweak - Update 'device data' capture inner workings = 2.6.1 - 2021-05-27 = * Fix - Address an uncaught exception when getting the payment methods for a customer = 2.6.0 - 2021-04-19 = * Tweak - Add a filter to allow customizing the disabled funding PayPal options * Fix - Prevent a PHP notice triggered while trying to access the cart object too early in a request = 2.5.0 - 2021-03-18 = * Feature - Upgrade to the latest Braintree JavaScript SDK and add support to show PayPal Pay Later offers to eligible buyers * Tweak - Add Kount support for US based merchants who are using API keys to connect to Braintree * Misc - Include device data for all customer-initiated PayPal transactions to increase the accuracy of the Advanced Fraud Management Tools in determining when a transaction is fraudulent * Misc - Update the SkyVerge plugin framework to 5.10.5 = 2.4.3 - 2020-10-22 = * Fix - Fix a checkout error that removes the CSC field when a saved payment method is selected and the billing country is changed = 2.4.2 - 2020-10-14 = * Fix - Address a possible race condition when loading Braintree device data scripts in front end = 2.4.1 - 2020-09-28 = * Fix - Fix a fatal error in some server environments with no case sensitive file systems while WooCommerce Product Add-ons is active = 2.4.0 - 2020-08-12 = * Fix - Halt plugin loading and display a notice if cURL is not available on the server * Misc - The plugin name is updated to Braintree for WooCommerce * Misc - Add support for WooCommerce 4.3 * Misc - Update the SkyVerge plugin framework to v5.7.1 * Misc - Require PHP 5.6+ * Dev - Classes in the WC_Braintree\Plugin_Framework namespace are now deprecated, use the namespace for the included version of the SkyVerge plugin framework (SkyVerge\WooCommerce\PluginFramework\v5_7_1) = 2.3.11 - 2020-06-03 = * Tweak - New users and users who disconnect should use API keys to connect to Braintree - no changes required for users already connected via Braintree Auth = 2.3.10 - 2020-05-04 = * Misc - Add support for WooCommerce 4.1 = 2.3.9 - 2020-04-20 = * Fix - Fix fatal error in PHP < 5.4 = 2.3.8 - 2020-03-10 = * Misc - Add support for WooCommerce 4.0 = 2.3.7 - 2020-02-05 = * Fix - Prevent error with payment fields shown in the Checkout page on WooCommerce 3.9 when the address fields are updated = 2.3.6 - 2020-01-05 = * Misc - Add support for WooCommerce 3.9 = 2.3.5 - 2019-12-12 = * Fix - Fix redirect URL encoding when connecting via Braintree Auth = 2.3.4 - 2019-12-10 = * Tweak - Display informative message when 3D Secure fails due to unsupported characters in the customer name = 2.3.3 - 2019-11-28 = * Fix - Catch CardinalCommerce JS errors in unsupported browsers to prevent hung checkouts = 2.3.2 - 2019-10-21 = * Misc - Add support for WooCommerce 3.8 = 2.3.1 - 2019-10-16 = * Fix - Prevent 3D Secure errors trying to purchase free trial subscriptions * Fix - Fix a bug with regular expressions being used in PHP 7.3+ = 2.3.0 - 2019-10-03 = * Feature - PayPal buy-now buttons can now be added to product pages * Tweak - Enable PayPal Credit by default on new installs * Fix - Fix a styling issue with the merchant account ID field in settings * Fix - Fix a bug with a regular expression being used in PHP 7.3+ = 2.2.7 - 2019-09-12 = * Fix - Fix JavaScript error blocking payments with 3D Secure from the Pay Order page = 2.2.6 - 2019-08-07 = * Tweak - Add support for 3D Secure 2.0 * Misc - Add support for WooCommerce 3.7 = 2.2.5 - 2019-06-06 = * Fix - Regenerate client tokens on checkout refresh to use the customer's latest currency * Fix - Ensure saved PayPal accounts display their associated email address if no nickname is set = 2.2.4 - 2019-04-01 = * Fix - Prevent an error when completing pre-orders that were placed using the PayPal gateway = 2.2.3 - 2019-03-20 = * Fix - Ensure Kount merchant ID is set in device data for stores using advanced fraud tools via Kount = 2.2.2 - 2019-02-28 = * Fix - Prevent JS errors when reloading the payment form in IE and Edge = 2.2.1 - 2019-02-06 = * Fix - Ensure updated order totals are used for validating 3D Secure when the checkout is refreshed * Fix - Prevent 3D Secure errors when non-US region codes are used during validation * Fix - Ensure payment forms are available for orders that start at $0 but require payment after shipping selection * Fix - Update the recurring flag for new API requirements when processing subscription payments * Misc - Reorder manual connection setting inputs to match documentation = 2.2.0 - 2018-11-12 = * Feature - Add Apple Pay support for iOS users to quickly place orders from the product, cart, and checkout pages * Feature - Allow the PayPal button to be customized from the plugin settings * Feature - Add PayPal Credit support * Feature - Add support for auto-capturing orders when changed to a paid status * Feature - Customers can now label their saved payment methods for easier identification when choosing how to pay * Tweak - Improve the My Account Payment Methods table on desktop and mobile * Tweak - Automatically enable 3D Secure when enabled in the merchant account * Tweak - Allow users to set the card types that should process 3D Secure * Tweak - Allow users to set the 3D Secure level and block transactions where liability is not shifted * Fix - Fix an issue where duplicate addresses were added when processing transactions with a previously saved payment method * Fix - Ensure the payment forms are re-created after shipping method selection * Misc - Remove support for WooCommerce 2.5 = 2.1.4 - 2018-10-17 = * Misc - Add support for WooCommerce 3.5 = 2.1.3 - 2018-08-01 = * Tweak - Generalize the PayPal link error to allow for different PayPal button colors * Fix - Ensure PayPal charges can still be captured when the Credit Card gateway is disabled * Fix - Prevent stalled checkout when PayPal is cancelled or closed * Fix - Prevent duplicate PayPal buttons when checkout is refreshed * Fix - Don't reset the "Create Account" form when the checkout is refreshed = 2.1.2 = * Tweak - Add payment details to the customer data export and remove it for erasure requests * Tweak - Remove payment tokens for customer data erasure requests * Misc - Add support for WooCommerce 3.4 = 2.1.1 = * Fix - Fix the payment form JavaScript compatibility with IE 11 = 2.1.0 = * Feature - Upgrade to the latest Braintree JavaScript SDK for improved customer experience, reliability, and error handling * Tweak - Add placeholder text for credit card inputs * Tweak - Add responsive sizing to the PayPal buttons and update to the recommended styling for the Cart and Checkout pages * Tweak - Add setting and filter to disable PayPal on the cart page * Tweak - Update all translatable strings to the same text domain * Tweak - Hide Kount as a fraud tool option for US-based stores as it's not currently supported * Tweak - Only load the Braintree scripts when required on payment pages * Fix - Ensure that new customers have their billing address stored in the vault on their first transaction * Fix - Prevent linked PayPal accounts from being cleared if there are address errors at checkout * Fix - Fix some deprecated function notices = 2.0.4 = * Fix - Prevent a fatal error when completing pre-orders * Fix - Prevent JavaScript errors when applying a 100%-off coupon at checkout = 2.0.3 = * Fix - Add a missing namespace that could cause JavaScript issues with some configurations = 2.0.2 = * Fix - Ensure refunds succeed for legacy orders that are missing the necessary meta data * Fix - Add fallbacks for certain subscriptions upgrades after WooCommerce 3.0 compatibility issues * Fix - Default set the Require CSC setting for legacy upgrades to avoid inaccurate error notices at checkout * Fix - Prevent PayPal JavaScript errors in certain cases * Fix - Ensure subscriptions are not affected if Change Payment fails due to declines or other problems * Fix - Ensure old payment methods can be removed by the customer after changing subscription payment to a new method = 2.0.1 = * Fix - Purchasing a subscription with PayPal could lead to a blank order note being added * Fix - Ensure all upgrade routines run for users who have used both the SkyVerge Braintree and PayPal Powered by Braintree v1 in the past * Fix - Issue where existing subscriptions in some cases couldn't switch to using a new PayPal account * Fix - Ensure "Place Order" button always remains visible for PayPal when accepting terms = 2.0.0 = * Feature - Now supports non-USA Braintree merchant accounts! Bonjour, hola, hallo, and g'day :) * Feature - Supports WooCommerce Pre-Orders plugin * Feature - Credit cards and PayPal gateways can be enabled individually * Feature - Customers can opt to save cards or link a PayPal account at checkout for future use, or use saved methods during checkout * Feature - Customers can manage or add new payment methods from the account area * Feature - Uses an enhanced payment form with retina icons * Feature - Add multiple merchant IDs to support multi-currency shops (requires a currency switcher) * Feature - Supports Advanced Fraud tools and Kount Direct * Feature - Supports 3D Secure for Visa / MasterCard transactions * Feature - Add dynamic descriptors to be displayed for the transaction on customer's credit card statements * Feature - Can show detailed decline messages at checkout to better inform customers of transaction decline reasons * Feature - Allows bulk action to capture charges * Feature - Orders with only virtual items can now force a charge instead of authorization * Tweak - Capturing a charge now moves order status to "processing" automatically * Tweak - Voided orders are now marked as "cancelled" instead of "refunded" * Tweak - Admins can now manually update Subscription payment methods and view payment tokens * Fix - Subscription orders will no longer force a charge and allow an authorization depending on settings * Fix - Handle Subscriptions renewal failures by failing the order * Fix - Customers can switch Subscriptions payment methods on their own from the account * Fix - Stores sandbox and live customer tokens separately to avoid `Customer ID is invalid.` messages * Fix - Ensures that payment can be made from the "My Account" page for pending orders * Misc - Adds support for WooCommerce 3.0+ * Misc - Removes support for WooCommerce 2.4 and lower * Misc - Added upgrade routine from SkyVerge Braintree plugin to allow for migrating existing tokens and subscriptions * Misc - Refactor for improved performance and stability * Misc - Other small fixes and improvements = 1.2.7 = * Fix - If you connected but did not save the settings, the enabled value would not be set and scripts would not enqueue * Fix - Disable customer initiated payment method changes - PayPal Braintree does not support zero amount transactions * Tweak - On new installs, debug messages are no longer sent to the WooCommerce System Status log by default = 1.2.6 = * Fix - Issue where buyer unable to change subscription payment method with free-trial (order total is 0). = 1.2.5 = * Fix - Prevent void on unsettled transaction when refunding partially. * Tweak - Add filter wc_gateway_paypal_braintree_sale_args to filter arguments passed to sale call. = 1.2.4 = * Fix - Free subscription trails not allowed. * Fix - Subscription recurring billing after free trial not working. = 1.2.3 = * Fix - Handle uncaught exceptions thrown by Braintree SDK. API calls from SDK may throws exception, thus it need to be handled properly in try/catch block. * Fix - Issue where deactivating WooCommerce might throws an error = 1.2.2 = * Tweak - Updated FAQ that emphasizes this plugin only works in the U.S. currently * Fix - Updated JS SDK to 2.24.1 which should fixes issue where credit card fields working intermittently * Tweak - Add filter on credit card icons * Tweak - Provide default title for cards and PayPal account methods = 1.2.1 = * Fix - Issue where Subscriptions with free trial was not processed * Fix - Missing "Change Payment" button in "My Subscriptions" section * Tweak - Make enabled option default to 'yes' * Tweak - Add adnmin notice to setup / connect after plugin is activated * Fix - Consider more statuses (settling, submitted_for_settlement, settlement_pending) to mark order as in-processing * Fix - Issue where settings section rendered twice = 1.2.0 = * Replace array initialization code that causes a fatal error on PHP 5.2 or earlier. PHP 5.4+ is still required, but this code prevented the compatibility check from running and displaying the version requirements * Update to the latest Braintree SDK (3.8.0) * Add authorize/capture feature, allowing delayed settlement * Pre-fill certain merchant and store details when connecting * Fix missing gateway title and transaction URL when order in-hold = 1.1.0 = * Fixed a bug which would cause the gateway settings to report that the gateway was enabled when it actually was not fully enabled. * Updated contributors list = 1.0.1 = * Remove duplicate SSL warnings * Update environment check to also check after activation for environment problems * Fix link in enabled-but-not-connected notice = 1.0.0 = * Initial release