fooman / printorderpdf-implementation-m2

5 stars 8 forks source link

Exception on place order $0 #15

Closed vmartins closed 2 years ago

vmartins commented 2 years ago

When using native module "Zero Subtotal Checkout" and placing the order with value $0, displays the error:

Exception #0 (Magento\Framework\Exception\LocalizedException): We cannot retrieve the payment info model object.
#1 Magento\Payment\Block\Info->getMethod() called at [vendor/fooman/printorderpdf-implementation-m2/src/Plugin/PaymentInfoBlockPlugin.php:57]
#2 Fooman\PrintOrderPdf\Plugin\PaymentInfoBlockPlugin->aroundGetTemplateFile() called at [vendor/magento/framework/Interception/Interceptor.php:135]
fooman commented 2 years ago

Thanks for the report. I just double checked this with a fresh install using the latest version of Magento and this extension and was not able to replicate this.

Please re-open if you are able to provide further info that replicates the issue on a fresh Magento instance.

image