Dynamic Payment Providers in the Admin #3948
SGFGOV
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently in the admin
const providerDescriptors: { [providerKey: string]: Option } = is a static list,
can this be made dynamic by exposing the available payment providers via an API. a simple API list route should do it.
else every time we add a new payment provider we need to manually edit this list, which is poor developer experience.
Moreover there are hundreds of payment providers globally. One version of the admin interface should ideally be enough to configure them, else each time a new payment provider is added we need to manually update this list. Now this might be ok if we have one store, but if we have several global stores, this might not work.
Best regards
Beta Was this translation helpful? Give feedback.
All reactions