Conflict between plugins using Braintree

  • This topic has 2 replies, 3 voices, and was last updated 4 years ago by Stacy Lind.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #711727
    Christer Fernstrom
    Participant

    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?

    #712511
    Steve
    Keymaster

    Hi Christer,

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

    #723300
    Stacy Lind
    Keymaster

    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.