Payment policies

Version: 10.3

The Payment plugin contributes configuration policies that define behavior for the functionality provided by the plugin.

Note

Do not extend or inherit from out-of-the-box policies; instead, create your own.

You can change the values of default policies by modifying the PolicySet JSON or the Environment JSON, depending on where the policy is defined, and then re-running Bootstrap.

The Payment plugin contributes defines the following policies:

Policy

Description

Properties / Default Values

KnownPaymentsActionsPolicy

Defines the names of the payments entity view actions.

VoidPayment \ "VoidPayment"

RefundPayment \ "RefundPayment"

SelectPaymentOption \ "SelectPaymentOption"

AddPayment \ "AddPayment"

GetCountryRegionsForPayment \ "GetCountryRegionsForPayment"

GetCountryRegionsForFederatedPayment \ "GetCountryRegionsForFederatedPayment"

KnownPaymentsViewsPolicy

Defines the names of the payments entity views.

OrderPayments \ "OrderPayments"

OrderPaymentDetails \ "OrderPaymentDetails"

SalesActivities \ "SalesActivities"

SalesActivityDetails \ "SalesActivityDetails"

KnownViewsPolicy

Provides the ability to change the default view names for the Payment service, specifically the PaymentOptions view.

Note

Do not extend or inherit from out-of-the-box policies; instead, create your own.

You can change the values of default policies by modifying the PolicySet JSON or the Environment JSON, depending on where the policy is defined, and then re-running Bootstrap.

Do you have some feedback for us?

If you have suggestions for improving this article,