- This topic has 2 replies, 3 voices, and was last updated 4 years ago by Stacy Lind.
- August 26, 2018 at 9:18 am #711727Christer FernstromParticipant
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?August 28, 2018 at 2:00 pm #712511SteveKeymaster
The issue will be fixed in the next version of the plugin.September 25, 2018 at 3:11 pm #723300Stacy LindKeymaster
The issue has been fixed. Make sure to update the plugin to its latest version (3.0.0).
- You must be logged in to reply to this topic.