I have a problem when trying to establish a connection with Braintree API.
I am using Opencart version 3.0.2.0 and I have an account with Braintree. When I try to enable the Braintree extension the following message is being shown: "There was a problem establishing a connection to the Braintree API. Please check your Merchant ID, Public Key, Private Key and Environment settings." I verified that the values entered match with the Merchant ID, Public Key and Private Key provided by Braintree. I also tried to create a Braintree sandbox environment and entered the corresponding Merchant ID, Public Key and Private Key, but the same message is shown.
I contacted Braintree regarding this issue I am having. First they told me to verify that values entered are correct. Then when even the sandbox environment did not work as well, they told me that the issue is coming from the cart. They checked some things from their end and confirmed that the Merchant ID is active and fine so the problem is from Opencart since the correct API keys are being used.
To tell you the whole story, I used to have a different set of API keys which were working fine. Then since the website did not have a transaction for a few months, the Braintree API was disabled automatically, so I had to re-apply for a new account with Braintree. This got accepted and a new set of API keys were issued. The problem is now arising when I use the new API keys but Braintree confirmed that the issue is not from their side as explained before.
Anyone encountered this issue before or maybe can provide some help on how to solve this?
Thanks in advance.
I am using Opencart version 3.0.2.0 and I have an account with Braintree. When I try to enable the Braintree extension the following message is being shown: "There was a problem establishing a connection to the Braintree API. Please check your Merchant ID, Public Key, Private Key and Environment settings." I verified that the values entered match with the Merchant ID, Public Key and Private Key provided by Braintree. I also tried to create a Braintree sandbox environment and entered the corresponding Merchant ID, Public Key and Private Key, but the same message is shown.
I contacted Braintree regarding this issue I am having. First they told me to verify that values entered are correct. Then when even the sandbox environment did not work as well, they told me that the issue is coming from the cart. They checked some things from their end and confirmed that the Merchant ID is active and fine so the problem is from Opencart since the correct API keys are being used.
To tell you the whole story, I used to have a different set of API keys which were working fine. Then since the website did not have a transaction for a few months, the Braintree API was disabled automatically, so I had to re-apply for a new account with Braintree. This got accepted and a new set of API keys were issued. The problem is now arising when I use the new API keys but Braintree confirmed that the issue is not from their side as explained before.
Anyone encountered this issue before or maybe can provide some help on how to solve this?
Thanks in advance.
This topic has now been moved to the OpenCart 3.0 Support > General Support section of the forum.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who developed the Braintree extension you're using? You should contact them ...
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Guru Member
Hi paulfeakins, thanks for your post. I am referring to the PayPal (Powered by Braintree) extension which comes by default with the Opencart installation, I did not download it online and install it.paulfeakins wrote: ↑Fri Jun 26, 2020 7:00 pmWho developed the Braintree extension you're using? You should contact them ...
See here. viewtopic.php?t=218809#p793235
OpenCart versions less than 3.0.3.5 comes with Braintree SDK 3.2.0. You will need at least version 3.8.0 of the SDK. You need to update the Braintree SDK in the storage/vendor/braintree directory.
OpenCart versions less than 3.0.3.5 comes with Braintree SDK 3.2.0. You will need at least version 3.8.0 of the SDK. You need to update the Braintree SDK in the storage/vendor/braintree directory.
Probably the easiest way is to download a later release at. https://github.com/braintree/braintree_php/releases
3.40.0 is probably best as 4.x could have breaking changes.
Backup your files and database, put into maintenance, etc.
Find your storage/vendor/braintree folder. Rename braintree-php to something like braintree-php-3.2.0.
Extract the new version into the storage/vendor/braintree folder. Rename braintree_php-3.40.0 to braintree-php.
Clear all caches.
The other options would be to upgrade to 3.0.3.5/6 or update via composer. Both likely to give you other errors to fix.
3.40.0 is probably best as 4.x could have breaking changes.
Backup your files and database, put into maintenance, etc.
Find your storage/vendor/braintree folder. Rename braintree-php to something like braintree-php-3.2.0.
Extract the new version into the storage/vendor/braintree folder. Rename braintree_php-3.40.0 to braintree-php.
Clear all caches.
The other options would be to upgrade to 3.0.3.5/6 or update via composer. Both likely to give you other errors to fix.
Who is online
Users browsing this forum: No registered users and 532 guests