• Resolved johnnyf03

    (@johnnyf03)


    Hi,
    We got this email from Braintree recently. Our website is running the latest version of the WooCommerce Braintree Gateway plugin. Can you please advise?

    Hello,

    Our records show that you are using a legacy SDK version that is not compatible with an upcoming update to our root SSL certificate provider for API traffic on May 1, 2020.

    If you do not update to a compatible SDK by this date, you will no longer be able to process payments through your Braintree account until you make the necessary update.
    What action is required?

    To avoid interruption to your processing, please update your SDK version on every part of your integration that is making API Calls to Braintree to the appropriate minimum version before May 1:

    Java 2.67.0
    Python 3.24.0
    Ruby 2.57.0
    PHP 3.8.0

    Note: Node and .NET Server SDKs should not be impacted by these upcoming changes.
    Where can I find more information?

    For information on how to update your SDK version, see our developer docs.

    If you are using a third-party shopping cart for your integration, we recommend reaching out to your shopping cart provider to ensure that they are using up-to-date Braintree SDKs so your processing is not interrupted.

    If you have any questions, contact us.

    The Braintree Team

    I then contacted Braintree and got the following:

    “Thanks for reaching out, happy to be of help.

    This upgrade will need to be done to the server side SDK. As you’ve noted you’re using WooCommerce the server side SDK is actually handled by them. As Braintree doesn’t make any plugins for third party Content Management Systems, The plugin you’re using would be made by a third party. I would first advise updating to the newest version of the plugin you’re using. If you’re already on the newest version I would advise reaching out to plugin developers for assistance as the SDK they’re using will not be compatible after May 1st. There is no need for you do to anything regarding your keys, the API keys do not come into play for this update.”

    Unsure how to proceed here. Many thanks

    Regards,
    John

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • Hi @johnnyf03 – can you include a copy of your system status report? You can do this by going to: WP Dashboard > WooCommerce > Status > ‘Get system report’

    – Joey

    Thread Starter johnnyf03

    (@johnnyf03)

    Thanks Joey. Here it is:

    
    ### WordPress Environment ###
    
    Home URL: https://irishacademicpress.ie
    Site URL: https://irishacademicpress.ie
    WC Version: 3.4.3
    Log Directory Writable: ?
    WP Version: ? 4.9.13 - There is a newer version of WordPress available (5.4)
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_GB
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.3.3 - ? WooCommerce will run under this version of PHP
    however
    some features such as geolocation are not compatible. Support for this version will be dropped in the next major release. We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    
    PHP Post Max Size: 32 MB
    PHP Time Limit: 60
    PHP Max Input Vars: 1000
    cURL Version: 7.19.7
    NSS/3.44
    
    SUHOSIN Installed: –
    MySQL Version: ? 5.5.62 - We recommend a minimum MySQL version of 5.6. See: WordPress requirements
    Max Upload Size: 32 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 3.4.3
    WC Database Prefix: wp_
    Total Database Size: 130.90MB
    Database Data Size: 118.94MB
    Database Index Size: 11.96MB
    wp_woocommerce_sessions: Data: 28.05MB + Index: 1.04MB
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_items: Data: 0.31MB + Index: 0.15MB
    wp_woocommerce_order_itemmeta: Data: 1.49MB + Index: 0.98MB
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB
    wp_commentmeta: Data: 0.00MB + Index: 0.01MB
    wp_comments: Data: 0.87MB + Index: 0.39MB
    wp_links: Data: 0.00MB + Index: 0.00MB
    wp_loginizer_logs: Data: 0.01MB + Index: 0.00MB
    wp_ms_snippets: Data: 0.00MB + Index: 0.00MB
    wp_options: Data: 9.11MB + Index: 0.75MB
    wp_postmeta: Data: 57.57MB + Index: 6.73MB
    wp_posts: Data: 21.21MB + Index: 1.37MB
    wp_snippets: Data: 0.00MB + Index: 0.00MB
    wp_termmeta: Data: 0.07MB + Index: 0.06MB
    wp_terms: Data: 0.06MB + Index: 0.12MB
    wp_term_relationships: Data: 0.11MB + Index: 0.27MB
    wp_term_taxonomy: Data: 0.05MB + Index: 0.06MB
    wp_usermeta: Data: 0.03MB + Index: 0.01MB
    wp_users: Data: 0.00MB + Index: 0.01MB
    wp_wc_download_log: Data: 0.00MB + Index: 0.00MB
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 1347
    custom_css: 1
    feedback: 6988
    iaphomepageposttype: 2
    iapsearchsuggestion: 4
    mc4wp-form: 1
    ml-slide: 83
    ml-slider: 5
    nav_menu_item: 26
    page: 18
    post: 4
    product: 471
    product_variation: 417
    revision: 811
    shop_coupon: 8
    shop_order: 1634
    shop_order_refund: 9
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (22) ###
    
    Ajax Search Lite: by Ernest Marcinko – 4.8
    Code Snippets: by Code Snippets Pro – 2.14.0
    Cookie Notice: by dFactory – 1.2.51
    Exclude Pages from Navigation: by Simon Wheatley – 1.92
    Grunion Contact Form: by Automattic
    Inc. – 2.3
    
    IAP Homepage Manager: by Dave Gerrard – 1.0
    Iap Search Suggestions: by David Gerrard – 1.0
    Image Widget: by Modern Tribe
    Inc. – 4.4.7
    
    Loginizer: by Raj Kothari – 1.4.3
    MC4WP: Mailchimp for WordPress: by ibericode – 4.7.5
    MetaSlider: by Team Updraft – 3.15.3
    Post Types Order: by Nsp Code – 1.9.3.9
    Really Simple SSL: by Rogier Lankhorst
    Mark Wolters – 3.3
    
    woo-inquire-us-and-disable-add-to-cart-button: by themelocation – 1.3
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.14
    
    WooCommerce Colors: by WooThemes – 1.0.7 – Not tested with the active version of WooCommerce
    WooCommerce Braintree Gateway: by WooThemes / SkyVerge – 2.3.0 – 3.3.3 is available – Not tested with the active version of WooCommerce
    WooCommerce Google Analytics Integration: by WooCommerce – 1.4.7
    WooCommerce Shipping Pro with Table Rate: by PluginHive – 3.1.5
    Woocommerce upcoming Products: by Sk Shaikat – 1.5.8.8 – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.4.3
    WP Add Custom CSS: by Daniele De Santis – 1.1.5
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: ?
    Currency: EUR (€)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Shop base: #5 - /shop/
    Basket: #6 - /cart/
    Checkout: #7 - /shop/checkout/
    My account: ? Page not set
    Terms and conditions: #3331 - /delivery-returns-and-refunds/
    
    ### Theme ###
    
    Name: IAP Theme
    Version: – 0 is available
    Author URL: 
    Child Theme: ?
    Parent Theme Name: Twenty Twelve
    Parent Theme Version: 1.1 – 3.1 is available
    Parent Theme Author URL: https://www.ads-software.com/
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: iap/woocommerce/emails/customer-processing-order.php
    iap/woocommerce/loop/add-to-cart.php version 2.1.0 is out of date. The core version is 3.3.0
    iap/woocommerce/loop/orderby.php version - is out of date. The core version is 3.3.0
    iap/woocommerce/loop/sale-flash.php
    iap/woocommerce/single-product/meta.php version 2.4.6 is out of date. The core version is 3.0.0
    iap/woocommerce/single-product/sale-flash.php
    
    Outdated Templates: ?
    					
    					
    						Learn how to update
    

    Cheers,
    John

    Plugin Contributor SkyVerge

    (@skyverge)

    Hey @johnnyf03 and @jricketts4!

    We’ve reviewed Braintree’s information about the upcoming changes along with the plugin’s code, and I’m pleased to say that this doesn’t have any effect on our plugin as the plugin is bundling v3.34.0 of the PHP SDK, while version v3.8.0 is required at a minimum. Additionally, our team is planning to update the SDK in future versions as well.

    As such, you can safely ignore the message sent out by Braintree on this subject. If you’d like to confirm definitively, I’d recommend double-checking with Braintree’s team directly. Please share with their team that our integration is using v3.34.0 of the PHP SDK and ask if this version will continue to be supported when the upcoming changes take place.

    That said, you may want to make sure you are only using the latest “PayPal Powered by Braintree gateway” plugin, and not another third-party, or older version of the gateway that the notice may have been sent for. As @jricketts4 mentioned, it would be great if we could see the system status report to check for other plugins too.

    Cheers,

    Simon.

    Plugin Contributor SkyVerge

    (@skyverge)

    Ah @johnnyf03, looks like our updates crossed!

    From the status report it looks like you have the older version of the gateway installed that is many years old at this point!

    If you would please upgrade to the latest plugin version, v2.3.8, you should be good to go! Any issues with the upgrade, please do let us know.

    Cheers,

    Simon.

    Thread Starter johnnyf03

    (@johnnyf03)

    OK thank you. Can I ask then how do I update the plugin because within the Plugins section there’s no option to Update? This gateway is how we process all orders so I’m just a bit wary that I don’t mess everything up

    I’ve downloaded the latest version of the plugin. Do I just install as a new plugin and it will overwrite? Obviously I want all the settings already entered to still be there and there’s no downtime

    Many thanks,
    John

    Plugin Contributor SkyVerge

    (@skyverge)

    Hey @johnnyf03,

    Sure! We provide some additional details on how to migrate from the retired Braintree plugin to PayPal Powered by Braintree gateway here:
    https://docs.woocommerce.com/document/woocommerce-gateway-paypal-powered-by-braintree/#retired-braintree-version-2-upgrade

    It should be a drop-in replacement, meaning you can keep the older gateway active while installing and activating the new one to have the settings migrated across. That said, we would always recommend attempting a major upgrade, such as this with the large version difference, on a staging environment first – to make absolutely sure there is no down time and any other issues with other plugin conflicts. That way your live site can continue to run as normal while troubleshooting can be done separately.

    Will you be giving this a run-through on a staging server first?

    Cheers!

    Simon.

    Thread Starter johnnyf03

    (@johnnyf03)

    Thanks for all the info. Let me get my head around all this and go through the documentation. I’ll have to set up a staged server as well. I’ll come back here if I’ve any problems but hopefully it all goes smoothly. Thanks again!

    Plugin Contributor SkyVerge

    (@skyverge)

    Hey @johnnyf03!

    No worries, that sounds like a plan! If there are any issues or questions that crop up, don’t hesitate to let us know.

    Cheers,

    Simon.

    Thread Starter johnnyf03

    (@johnnyf03)

    Hi Simon,
    I just backed everything up and tried it tonight on the live site. I uploaded the plugin fine but when I went to activate I got the following error message:

    “Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected ‘[‘ in /var/www/vhosts/128/238334/webspace/siteapps/WordPress-51572/htdocs/wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/woocommerce-gateway-paypal-powered-by-braintree.php on line 170”

    The old plugin that’s activated is called WooCommerce Braintree Gateway. The new one that I can’t activate is called WooCommerce PayPal Powered by Braintree Gateway. Don’t know if there’s a conflict issue here or what

    Can you advise please?

    Cheers,
    John

    AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    This is likely caused by a conflict with your theme or with another plugin.

    The best way to determine if the issue is being caused by a theme and/or plugin is to temporarily switch your theme to Storefront and disable all plugins except for WooCommerceand *both* Braintree plugins. Finally, test to see if the issue is resolved

    To figure out which plugin is causing the problem, continue to the next step – reactivate your other plugins one by one, testing after each, until you find the one causing conflict.

    Here’s a more extensive explanation in our docs: https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    —–

    Tools to help you troubleshoot:

    Meks Quick Plugin Disabler is a plugin you can install which will remember what plugins you currently have active so it’s easy to switch them back on. Link: https://www.ads-software.com/plugins/meks-quick-plugin-disabler/

    Health Check is a plugin that allows you to temporarily disable other plugins and switch themes for that session without impacting your users. Link: https://www.ads-software.com/plugins/health-check/

    You can clone your site to a staging environment and perform tests without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin. Link: https://www.ads-software.com/plugins/wp-staging/

    Thread Starter johnnyf03

    (@johnnyf03)

    OK. Still got work to do! Thanks for all the info and for your patience

    Thanks for letting us know @johnnyf03! I’ll go ahead and set this to resolved for now, but you can always reopen it as needed. ??

    – Joey

    Plugin Contributor SkyVerge

    (@skyverge)

    Hi @johnnyf03!

    A quick update from our side, our developers looked into the syntax error you experienced and were able to reproduce this with earlier versions of PHP installed on their test systems.

    They’ve since released a fix for this in v2.3.9, so if you’re still having the problem, I’d recommend firstly updating to the latest version before trying again! If you then still have issues, you can go ahead with the test steps mentioned above.

    Thanks again for reaching out and I look forward to hearing how you get on!

    Cheers,

    Simon.

    Thread Starter johnnyf03

    (@johnnyf03)

    Great. This looks much better now. Just a small issue with PHP on our side but nothing on your side this time. Thanks for everything guys!

    Plugin Contributor SkyVerge

    (@skyverge)

    Hey @johnnyf03!

    Amazing! Thanks so much for keeping us in the loop, I’m glad the latest release sorted that out for you.

    Any other issues or questions, please do let us know! ??

    Cheers,

    Simon.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘SDK Version update’ is closed to new replies.