Is there a way to check from the payment model instance (or anywhere else) if a payment method is offline or online?
Is there such a flag, or method?
I'm not talking about a specific method, I'm talking about all of them.

  • 2
    Magento\Payment\Model\MethodInterface::isOffline() isn't what you're looking for?
    – sv3n
    Commented Jan 10, 2019 at 12:20
  • Damn. I missed that. You are right. You might want to put this as an answer.
    – Marius
    Commented Jan 10, 2019 at 12:33

1 Answer 1


Please take a look at Magento\Payment\Model\MethodInterface::isOffline() :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.