cancel
Showing results for 
Search instead for 
Did you mean: 

Multishipping flag on payment methods

SOLVED

Multishipping flag on payment methods

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.

3 REPLIES

Re: Multishipping flag on payment methods

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.

Re: Multishipping flag on payment methods

<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>

Re: Multishipping flag on payment methods

thanks Anton!