This method helps users to process one-time payment through client's chosen payment source using the payment service gateway. The information provided will be used to process a sale transaction with the payment service provider through the payment source indicated. To make payments this method will make an API call to the payment gateway to charge credit/debit card or type of account selected. LeasePak uses the lease number to apply the amount charged and collected to, but the payment source requires to know what customer vault ID to charge and how much to charge.
LeasePak uses client number and payment source to identify the customer vault ID assigned to that payment source. The customer vault ID will be used along with the amount indicated to charge. The currency to charge an amount would be dertemined by the portfolio settingts. On successful API call completion, LeasePak creates a batch record by adding this sale record in RBP table to process and to run EOP. The batch payment RBP record consist of the amount, date, batch, and check where date should be followed by today date as YYMMDD.
public String chargePaymentSource(String leaseNumber, String clientNumber, String paymentSource, Double amount)
java.rmi.RemoteException
- Exceptions that may occur during the execution of a remote method call.