WordPress Booking Solutions Forums WordPress Plugins Hotel Booking Conflict between plugins using Braintree
- This topic has 2 replies, 3 voices, and was last updated 8 years ago by
Stacy Lind.
- AuthorPosts
- August 26, 2018 at 9:18 am #711727
Christer Fernstrom
ParticipantHey 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?
August 28, 2018 at 2:00 pm #712511Steve
KeymasterHi Christer,
The issue will be fixed in the next version of the plugin.
September 25, 2018 at 3:11 pm #723300Stacy Lind
KeymasterHi Christer,
The issue has been fixed. Make sure to update the plugin to its latest version (3.0.0).
- AuthorPosts
- You must be logged in to reply to this topic.