1. Payment service

Payment policies

Version:

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:

PolicyDescriptionProperties / Default Values
KnownPaymentsActionsPolicyDefines the names of the payments entity view actions.VoidPayment \ "VoidPayment"

RefundPayment \ "RefundPayment"

SelectPaymentOption \ "SelectPaymentOption"

AddPayment \ "AddPayment"

GetCountryRegionsForPayment \ "GetCountryRegionsForPayment"

GetCountryRegionsForFederatedPayment \ "GetCountryRegionsForFederatedPayment"
KnownPaymentsViewsPolicyDefines the names of the payments entity views.OrderPayments \ "OrderPayments"

OrderPaymentDetails \ "OrderPaymentDetails"

SalesActivities \ "SalesActivities"

SalesActivityDetails \ "SalesActivityDetails"
KnownViewsPolicyProvides 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.

If you have suggestions for improving this article, let us know!