Skip to content

Magento 2.4.6: $_isFixed must not be defined error in custom shipping module

I have coded a custom shipping module for Magento 2.4.6 according to Adobe’s documentation here: https://developer.adobe.com/commerce/php/tutorials/frontend/custom-checkout/add-shipping-carrier/ I am receiving the following error upon running a static content deployment: Fatal error: Type of MyModulesCustomShipping1ModelCarrierCustomshipping::$_isFixed must not be defined (as in class… Read More »Magento 2.4.6: $_isFixed must not be defined error in custom shipping module

Override Braintree Config.xml via Custom Module

Below is an except from vendor/paypal/module-braintree-core/etc/config.xml and I am curious how to add new credit card to, <cctypes_braintree_mapper> via a custom module. Is this done via a di.xml file or a new config.xml file? <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Store:etc/config.xsd”> <default> <payment> <braintree>… Read More »Override Braintree Config.xml via Custom Module