Introduction

This article describes how to configure Fake Payments for a Provider or Reseller. Such might be the case when a Provider or Reseller has integrated with an external Billing system which handles the post-payment. While usually the recommendation would be to set all prices in BA to zero, it may sometimes be required that BA show the prices to the customer, or report these prices to the external billing system. This results in orders having a non-zero price and thus requiring a payment to be made. In this case, BA must either attach a Fake Payment, or the Provider/Reseller must manually update the order to notify that payment has been received.

To process these Fake Payments, a payment method with the Payment System of the type 'Custom' is used (refer to documentation). 

Configuration

Creating Custom Payment System

To configure custom payment processing, first create a special payment system:

  1. In the control panel, go to System > Settings and click Payments in the Operations list. The list of available payment methods is displayed (empty by default).
  2. Switch to the Payment Systems tab and click Add New Payment System.
  3. Fill in the Add Payment System form fields as follows:
    • General Settings _
    • Type – Select Custom from the drop-down list.
    • ID – Specify the identifier of the system you are creating, for example, enter Dummy Payment System into the field.
    • Name – Specify the name of the system you are creating, for example, enter Dummy Payment System into the field.
    • Enabled – Tick this checkbox to enable usage of the payment system.
    • Universal Payment Method Settings _
    • Payment Method Creation – Select the option Use single Payment Method for all customers in the system
  4. Click Save. The system is created and added to the list. ## ![Add Payment System](http://kb.cloudblue.com/Attachments/33835/Images/Configuring Custom Payment Processing1.png)
Warning: Once the Payment Method Creation setting is assigned to customers, it will be impossible to switch at a later time _(see 'Adding Payment System in PBA' in the PBA Provider's Guide)._

Configuring Dummy Payment Gateway#### General settings 13. In the control panel, go to System > Settings and click Payments in the Operations list. The list of available payment methods is displayed (empty by default). 14. Switch to the Payment Gateways tab and click the Dummy Payment System name. The gateway General settings are displayed. 15. Click Edit and enter into the OK Credit Card field this regular expression: ^(.*)$. (This enables the payment gateway to process any payments. It means that any value of an attribute of a payment method must be considered as the OK scenario. ) 16. Click Save. Your changes are saved. ![General Settings](http://kb.cloudblue.com/Attachments/33835/Images/Configuring Custom Payment Processing3.png)

Features

  1. From the General tab of Dummy Payment System, switch to the Features tab. The list of plug-in features is displayed.
  2. Click Add New Feature and fill in the following fields:
    • Payment System – Select from the drop-down list the payment system that you have created.
    • Currency – Click and select the desired currency from the pop-up window that opens.
  3. Click Save. Your payment is added to the features of the Dummy Payment Gateway.

    • _If necessary, repeat step 4 for other currencies. _

![](http://kb.cloudblue.com/Attachments/33835/Images/Configuring Custom Payment Processing4.png)

Availability for Resellers

  1. From the Features tab of Dummy Payment System, switch to the Availability for Reseller tab. The list of plug-in features is displayed.
  2. Check that the Merchant Account option is set to Own only for each currency associated with the created payment system.

![](http://kb.cloudblue.com/Attachments/33835/Images/Configuring Custom Payment Processing2.png)

Now you can configure the Reseller payment method.

Configuring Reseller Payment Method

To configure the payment method to process fake payments for the Reseller:

  1. In the Reseller Control Panel, go to System > Settings and click Payments in the Operations list. The list of available options is displayed.
  2. On the Payment Methods tab, click Manage Payment Methods. The list of available payment methods is displayed.
  3. In the Custom section, tick the checkbox next to the pair consisting of the created payment system and Dummy Payment Gateway.
  4. Click Save. The payment method is enabled for payments processing.

![](http://kb.cloudblue.com/Attachments/33835/Images/Configuring Custom Payment Processing5.png)

Internal content