Closed king-puddles closed 1 year ago
👋 @king-puddles thanks for reaching out. Since we don't develop BigCommerce's libraries we don't support their libraries, but I'll do my best to offer my two cents on what could be going on. If you continue to encounter issues, I recommend contacting Technical Support referencing this issue and any updates. Again, they're in a similar situation as us in that they can only provide support for Braintree and PayPal libraries, but they'll try to help as best they can!
Anyhoo, my thoughts:
1) Your screenshot is showing 403 error responses when trying to pull down our libraries from our CDN network with the text HTTP/1.1
. I'd double check and confirm your integration is making HTTPS requests and has TLS 1.2 set. It probably is, but always worth double-checking.
2) In your second screenshot, there's an error message that says Unable to proceed because the client library of a payment method is not loaded or ready to use
. In your browser's developer tools, see if you can set a breakpoint in the file braintree-script-loader
on line 31 where it looks like this is breaking and reload the screen to see if you can get any other info about the state of your integration at that moment, or the request headers to verify your making secure requests.
In general, I'm also seeing a lot of Content Security Policy errors so I'd double check that your integration has the following settings to ensure it supports our libraries.
If you're using a specific Bigcommerce plugin, ultimately you may need to contact the folks who develop that plugin for support, or try using a Bigcommerce forum.
Hope this helps!
Thanks. I am fully aware that this integration was most likely not developed or maintained by Braintree directly, however given that it is trying to access BT's resources I figured I'd check in anyway, and also given the urgency of the problem I'm trying to gather as much information from whoever has it as quickly as possible.
I have been in contact with BT technical support in the meantime and they simply asked me to try accessing bot of the JS files directly in my browser - I still get 403 "The request could not be satisfied" http://js.braintreegateway.com/web/3.81.0/js/hosted-fields.min.js http://js.braintreegateway.com/web/3.81.0/js/client.min.js
Unfortunately again there's not a lot we can do with the checkout in general and BC don't seem to know what's going on with their own integration of BT. We have even tried an unmodified version of the theme with the same results, so clearly something has been changed in the back end by them as the old version we are back to using has no errors in regards to this. I will keep poking around
General information
Issue description
I hope this is the right place for the following query... move or remove if required.
We have, in house, recently rebuilt our Bigcommerce (BC) site using the latest "Peak" theme code base. This was a migration from a much older version of the same theme.
A major issue we are facing in both our development and live environment is that the Credit Card fields on the checkout page appear "disabled". It looks as if the iFrame is loading correctly however the user is unable to enter any information. We are using Braintree as our payment gateway. Please note that we are using BC's "Optimized One-Page Checkout" and are unable to make changes to the checkout page itself. Due to this, we have not touched this page and assume something has been changed behind the curtain by BC or otherwise.
We have reverted back to the old theme we were using and all functionality is working as expected.
Is there something we are potentially missing that could be causing the above? There are no references to Braintree in the theme otherwise. Please see attached screenshots of our console logs for both development and live environments when attempting to use the checkout.
Development
Live