Article ID: 122385, created on Jul 16, 2014, last review on Jul 31, 2014

  • Applies to:
  • Business Automation 5.x

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 PBA to zero, it may sometimes be required that PBA 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, PBA 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 (see also 'Adding Payment System in PBA' in the PBA Provider's Guide). 

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

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

  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 Gateways tab and click the Dummy Payment System name. The gateway General settings are displayed.
  3. 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. )
  4. Click Save. Your changes are saved. 
General Settings

Note: If you configure a reseller with the aid of ResellerConfigure_API, the regex for the Dummy Payment Gateway is configured automatically under this reseller. 

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. 

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.
 

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.

92711db0799e8aefe8e51f12dace0496 caea8340e2d186a540518d08602aa065 198398b282069eaf2d94a6af87dcb3ff b6eee11f5c12f3afdb38caa6d6df0390 6311ae17c1ee52b36e68aaf4ad066387 e507bdb98979e3376dd8b109cbbb2ec3 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF