HOWTO Enable/disable payment method in BCP

How to enable/disable payment method in BCP


In order to make changes to configuration files in Atomia Applications, you have to follow rules and regulations regarding Atomia configuration files and transformation. More information about it can be found on following links:


http://support.atomia.com/solution/articles/4000010876-atomia-configuration-files-and


For Billing customer panel (BCP) you can enable\disable payment method in config file in BCP server that is located in the following path:

C:\Program Files (x86)\Atomia\BillingCustomerPanel\App_Data\appConfig.config.


The change must be performed by transformation files that have to be located in.

Add the following property accordingly (e.g. for Pay payment method) to disable payment method to transformation file. Transformation file should have the same name as config file which is being changed and could have some suffix before extension, for example, appConfig.paypal.config and it needs to be located in

C:\Program Files (x86)\Atomia\BillingCustomerPanel\App_Data\Transformation Files


Example of transformation file”


<?xml version="1.0" encoding="utf-8"?>

<appConfig xmlns="Atomia.Web.Base.Configs" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">

<globalSettingsList>

 <globalSetting name="PayPalPaymentEnabled" value="false" xdt:Locator="Match(name)" xdt:Transform="SetAttributes(value)"/>

</globalSettingsList>

</appConfig>


After saving transformation file, it is necessary to run Recreate config that is located in:

C:\Program Files (x86)\Atomia\BillingCustomerPanel



For more information you can always contact Atomia’s friendly support team.