Allowing Customer to Add a Payment Method without Buying
Customers are now able to add payment method in UX1 for Customers by themselves without the need of placing and paying an order. In UX1 for Customers, they can perform a payment method validation by clicking the Add New Online Payment Method button.
During a payment method validation, the following occurs:
- A customer is redirected to the payment gateway's site where they confirm a charge of a pre-auth amount.
- The customer is redirected back to the control panel, and the charged amount is refunded (or voided, depending on the payment gateway).
- A payment token is created in the Billing system enabling the customer to use this payment method for purchases and recurring payments.
If the provider wants to allow a payment method validation for a payment gateway, they must consider the following conditions:
- A respective payment plugin must support refund (or void) operation.
- A payment plugin type must support a tokenization of payment methods (this requirement is related to the plug-in source code and cannot be viewed in the control panel).
- Two payment methods must be enabled: one of the “External Payment Site” or “Modal Form” type, and another of the “Custom” type.
- These payment methods must be available to a customer through a customer class.
- Pre-authorization amount must be configured.
After all of the above mentions conditions are met, a customer will see Add New Online Payment Method in UX1 for Customers that will allow them to perform the validation of a payment method with the pre-auth amount without placing and paying an order. Once the payment method is validated, a token will be stored in the Billing system, and the customer will be enabled to use this payment method for purchases and recurring payments.
Note: In the Billing, this operation of charging with further refunding or voiding is displayed as a “pre-authorization payment” fraud check.
Pre-auth amount configuration
To configure the Pre-Auth Amount for each payment system – currency pair:
- In PCP, go to System > Settings > Payments Processing, and switch to the Payment Gateways tab. The list of available payment gateways is displayed.
- Click the necessary payment gateway and switch to the Features tab. The displayed table contains the Pre-Auth Amount values for each configured currency.
- Click the necessary currency, and then click Edit. Set the Pre-Auth Amount value. Save the changes.
- Repeat the above steps for all the necessary currencies.
- Repeat the above steps for all the necessary payment systems.