You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 16/umbraco-commerce/key-concepts/payment-providers.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,10 +35,28 @@ public class MyPaymentProviderSettings
35
35
36
36
All Payment Providers inherit from a base class `AsyncPaymentProviderBase<TSettings>`. `TSettings` is the type of a Plain Old Class Object (POCO) model class representing the Payment Provider's settings. The class must be decorated with `PaymentProviderAttribute` which defines the Payment Providers `alias`.
37
37
38
-
The settings class consists of a series of properties, each decorated with a `PaymentProviderSettingAttribute`. These will all be used to dynamically build an editor interface for the given settings in the backoffice.
38
+
### Payment Provider Settings
39
+
The settings class consists of a series of properties, each decorated with a `PaymentProviderSettingAttribute`. These attributes are used to dynamically build an editor interface for the settings in the backoffice.
39
40
40
41
Labels and descriptions for providers and their settings are controlled through [Localization](#localization) entries.
41
42
43
+
{% hint style="info" %}
44
+
The **Validate Payment Provider Settings** feature is available in Umbraco Commerce 16.4.0 and later.
45
+
{% endhint %}
46
+
47
+
Umbraco Commerce supports validating payment provider settings using the `System.ComponentModel.DataAnnotations.ValidationAttribute` class.
Copy file name to clipboardExpand all lines: 16/umbraco-commerce/key-concepts/shipping-providers.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,10 +35,27 @@ public class MyShippingProviderSettings
35
35
36
36
All Shipping Providers inherit from a base class `ShippingProviderBase<TSettings>`. `TSettings` is the type of a Plain Old Class Object (POCO) model class representing the Shipping Provider's settings. The class must be decorated with `ShippingProviderAttribute` which defines the Shipping Providers `alias`.
37
37
38
-
The settings class consists of a series of properties, each decorated with a `ShippingProviderSettingAttribute`. These will all be used to dynamically build an editor interface for the given settings in the backoffice.
38
+
### Shipping Provider Settings
39
+
The settings class consists of a series of properties, each decorated with a `ShippingProviderSettingAttribute`. These attributes are used to dynamically build an editor interface for the settings in the backoffice.
39
40
40
41
Labels and descriptions for providers and their settings are controlled through [Localization](#localization) entries.
41
42
43
+
{% hint style="info" %}
44
+
The **Validate Shipping Provider Settings** feature is available in Umbraco Commerce 16.4.0 and later
45
+
{% endhint %}
46
+
47
+
Umbraco Commerce supports validating shipping provider settings using the `System.ComponentModel.DataAnnotations.ValidationAttribute` class.
0 commit comments