Checkout this article if you face an error like below.
[2020-09-23 21:55:18] main.CRITICAL: Report ID: webapi-5f6bc446bb808; Message: Property "DisableTmpl" does not have accessor method "getDisableTmpl" in class "Magento\Quote\Api\Data\PaymentInterface". {"exception":"[object] (Exception(code: 0): Report ID: webapi-5f6bc446bb808; Message: Property \"DisableTmpl\" does not have accessor method \"getDisableTmpl\" in class \"Magento\\Quote\\Api\\Data\\PaymentInterface\". at /home/solivrfrpa/www/vendor/magento/framework/Webapi/ErrorProcessor.php:208, LogicException(code: 0): Property \"DisableTmpl\" does not have accessor method \"getDisableTmpl\" in class \"Magento\\Quote\\Api\\Data\\PaymentInterface\". at /home/solivrfrpa/www/vendor/magento/framework/Reflection/NameFinder.php:100)"} []
Follow below step-by-step guide to solve the issue.
Step 1 : Go to this path /vendor/magento/module-checkout/view/frontend/web/js/action/select-payment-method.js
Step 2 : Overwrite this select-payment-method.js in your theme /app/design/frontend/[VendorName]/[theme]/Magento_Checkout/web/js/action/select-payment-method.js
Step 3 : Comment below mention code in line no.15 approx.
1 2 3 4 5 6 7 |
/* if (paymentMethod) { paymentMethod.__disableTmpl = { title: true }; } */ |
Step 4 : After that run below mentioned commands
1 2 3 |
- php bin/magento setup:upgrade - php bin/magento setup:di:compile - php bin/magento cache:clean |
That’s it…
Now, you can check your payment method while placing the order on checkout page. Your payment method related issue should have resolved.
[crayon-63d3d89fdcb66220617721/] Using above fucntion Images can be imported directly from...
Override view block using di.xml and add the below code...
You can check a list of called layout XML for...
Follow the below steps to install and set up PWA...
If you want to remove all leading zero's from order,...
Let our Magento expert connect to discuss your requirement.
We offer Magento
certified developers.
Our Magento clientele
is 500+.
We sign NDA for the
security of your projects.
We’ve performed 100+
Magento migration projects.
Free quotation
on your project.
Three months warranty on
code developed by us.