Did we lose the the flag we had on M1 to enable/disable a payment method to be used on multishipping address checkout?
on M1 we had this Mage_Payment_Model_Method_Abstract::_canUseForMultishipping but on M2 it seems there is not such a thing and that if you develop a payment extension by default it appears on both one page and multi address checkout.
Solved! Go to Solution.
M1 implementation violated modularity: Payment knew about Multishipping checkout.
Please look at \Magento\Multishipping\Model\Payment\Method\Specification\Enabled to enable/disable payments on multi shipping checkout.
<p>M1 implementation violated modularity: Payment knew about Multishipping checkout.</p>
<p>Please look at <code>\Magento\Multishipping\Model\Payment\Method\Specification\Enabled</code> to enable/disable payments on multi shipping checkout.</p>
thanks Anton!