Conflict between plugins using Braintree

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #711727
    Christer Fernstrom

    Hey guys,

    I’m using Braintree as the payment gateway for the hotel booking and on my site I also have a Woocommerce shop using Braintree.

    I’m putting this message in the support threads for both plugins: Motopress Hotel Booking and Woocommerce Braintree Payment Gateway. Both these plugins perform a “require_once” of the Braintree SDK which creates a fatal error on the Woocommerce checkout page “Cannot redeclare requireDependencies()”. This function is defined in the Braintree SDK and in the Braintree SDK there should have been a test that the function is not already declared before declaring it.

    But the problem is that this creates a fatal conflict between the two plugins which breaks the checkout page.

    Can you please fix this?


    Hi Christer,

    The issue will be fixed in the next version of the plugin.

    Stacy Lind

    Hi Christer,

    The issue has been fixed. Make sure to update the plugin to its latest version (3.0.0).

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.