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?