Add ability for configure Validation
property throught PaymentProviderSettingAttribute
#546
PeterKvayt
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I did refactoring for Wordlpay payment provider and faced with following problem.
I want to make some settings mandatory. It enhance user expirience, when users won't be able to save payment method if not all mandatory fields were provided.
I see it in following way: we have
PaymentProviderSettingAttribute
andUmbracoCommerceSettingAttribute
:I think it would be great if we add
Validation
as it was done withConfig
property. And with the help of propertyValidation
we will be able to manage mandatory state.Beta Was this translation helpful? Give feedback.
All reactions