What are the Slack Archives?

Itโ€™s a history of our time together in the Slack Community! Thereโ€™s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you wonโ€™t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi All, I would like to hide certain payment types under certain conditions. Where can I start here?

U0213NKTA82
U0213NKTA82 Posts: 13 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

Hi All,
I would like to hide certain payment types under certain conditions. Where can I start here? Is there somewhere a possibility to filter the collection of payment types?

Comments

  • U01SE4SRCU9
    U01SE4SRCU9 Posts: 68 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Maybe somewhere in this area...? \SprykerShop\Yves\CheckoutPage\Process\Steps\PaymentStep::getPaymentSelectionWithFallback

  • Eugenia Poidenko
    Eugenia Poidenko Sprykee Posts: 145 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Try \Spryker\Zed\Payment\Dependency\Plugin\Payment\PaymentMethodFilterPluginInterface

  • U0213NKTA82
    U0213NKTA82 Posts: 13 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Thx @UQKSAARKN, exactly what I was looking for