Allow to restrict allowed payment method categories

Created on 10 October 2024, about 1 month ago

Currently, we take the session response as is from Klarna, and render all payment method options that Klarna returns

It's currently not possible to configure the module to only allow the "Pay later" option for example.

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇦🇹Austria agoradesign

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @agoradesign
  • 🇦🇹Austria agoradesign

    ATTENTION:

    Being under time pressure, I've uploaded my patch, that is hardcoding to restrict the allowed categories to 'pay_later'. Of course, we'd need to define a configuration option for the payment gateway, allowing to optionally restrict the categories, and then doing the filtering.

    That's why I'm immediately hiding this patch

    However, this is a starting point for anyone coming with the same feature request here, and for finishing the final implementation of this

Production build 0.71.5 2024