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 "MagentoQuoteApiDataPaymentInterface". {"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.
/* if (paymentMethod) { paymentMethod.__disableTmpl = { title: true }; } */
Step 4 : After that run below mentioned commands
- 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.