-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Braintree Payment's error only with Litespeed & not Apache #3473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
After some further testing, this might be a PHP version issue. Not a web server issue. |
Can replicate on php 5.6 as well for the original issue |
I am no longer having this issue, i am going to close this |
Hi, |
[2.3.0] Fix performance issues
Hi,
Firstly, I understand that M2 is officially compatible with only apache and nginx.
I use Litespeed which is a drop in replacement for Apache. I have never had compatibility issues in the past with Magento1.
With Magento 2, everything seems to work perfectly except for the Braintree Payment module.
The symptom: On Checkout the payment method is not shown.
How i replicated: Setup apache server, built site.
Went to migrate to production which is litespeed (yeah i know should use the same for dev and production.)
Copied the exact database and files.
The error: in the chrome console:
Uncaught TypeError: Cannot read property 'addErrorMessage' of undefined
/pub/static/frontend/Magento/luma/en_US/Magento_Braintree/js/view/payment/method-renderer/cc-form.js:159
In Safari:

This actually looks like its trying to give me an error message but it can't.
Any help would be appreciated!
The text was updated successfully, but these errors were encountered: