Issue #3539260: Fix deleting payment method breaks order payments in back office

Closes #3539260

If a payment method is deleted by a customer, the call to the canCapturePayment method when accessing the order payments in the back office causes a fatal error as as the payment_method_type is NULL.

This change causes the method to return FALSE if the payment_method_type is NULL.

Merge request reports

Loading