Payment Customization API - how to hide payment methods for invoice checkout

I need to hide a payment method for invoice-sourced checkouts only. I can’t find an attribute to distinguish a regular cart/checkout vs. invoice-powered one. Is there any attribute I can rely on?

Hi Sergeich,

I’ve looked into this and it does appear that there isn’t a specific attribute to distinguish a regular cart/checkout from an invoice-powered one. You may need to use other indicators or methods to achieve this.

1 Like