In Magento 2.4 Cart page showing "Estimate Shipping and Tax"

bin/magento module:disable PayPal_Braintree PayPal_BraintreeGraphQl

Also if you only have a single site setup "default" you should go into the database "core_config_data" and remove all scope="website" or just the ones relating to "%braintree%"


Thank you @duntuk and @Will Wright for giving efforts to solve this issue. much appreciated.

This issue was due to Braintree modules in Magento 2.4.0 and the following solutions I found for this issue.

  • please check configuration, Magento 2.4.0 release notes and official vendor website to keep Braintree module:

    • https://docs.magento.com/user-guide/payment/braintree.html

    • https://devdocs.magento.com/guides/v2.4/release-notes/release-notes-2-4-0-commerce.html

    • https://www.braintreepayments.com/

    • https://help.braintreepayments.com/

  • Disable them (PayPal_Braintree, PayPal_BraintreeGraphQl) if not needed: https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html

Please Note: If you want to disable the module , you cannot make changes directly to the files in the cloud environment as it is read-only.

You must follow the standard deployment workflow to make any changes:

  1. Make any changes in your local environment
    • bin/magento module:disable PayPal_Braintree PayPal_BraintreeGraphQl
      OR
    • You can set the PayPal_Braintree and PayPal_BraintreeGraphQl module status to '0' in app/etc/config.php using the branch you want to update.
  2. Push/commit the changes to the desired environment, then redeploy

Please refer to the following for more details:

  • https://devdocs.magento.com/cloud/architecture/starter-develop-deploy-workflow.html
  • https://devdocs.magento.com/cloud/project/project-upgrade.html#upgrade-extensions

I choose the 2nd option to disable these modules as I don't need them and that fixed my problem.

Thanks