Paymentech plug-in
The Paymentech plug-in allows the Payments plug-in controller to communicate directly with the Paymentech gateway by using the plug-in.
The Paymentech plug-in follows the Payment plug-in specification.
The Paymentech plug-in supports the following payment transactions:
- Approve
- Reverse approval
- The Paymentech plug-in does not communicate with the Paymentech gateway. If payment is approved, the plug-in returns transaction success. The Paymentech gateway does not support online authorization reversal for credit cards. Authorized payments are automatically expired by Paymentech since no further payment transactions that are triggered on this payment, if the payment is reverse approved by HCL Commerce.
- Batch
- A batch is a collection of deposits (captures) and refunds that are to be processed together for settlement. For the Paymentech plug-in, authorization is processed online, while deposits and refunds are processed in batches. Payment authorization is processed during the order flow, but the batch is processed or settled at scheduled times with the ProcessPaymentechBatch scheduled job. For example, this job might be run daily.
- Deposit
- Processed in Batch mode. The Paymentech plug-in returns a Pending status, then a scheduler job selects all deposit and credit transactions in Pending status and processes them in a batch transaction.
- Credit
- Processed in Batch mode. The Paymentech plug-in returns a Pending status, then a scheduler job selects all deposit and credit transactions in Pending status and processes them in a batch transaction.
- Check payment instruction
- The Paymentech plug-in, checkPaymentInstruction API, of addresses the validation of payment instruction locally. There is no communication with Paymentech gateway. In this API calling, expiry date, card number, and required parameters in plug-in deployment are validated.
The Paymentech plug-in does not support the following payment transactions:
- Reverse deposit
- Reverse credit
- Validate payment instruction
The Paymentech plug-in sends the card verification value (CVV2) with the authorization request to the Paymentech gateway. Paymentech checks the CVV2 and return the cvv2ResultCode. If the CVV2 check fails, Paymentech returns a response code other than 100, and HCL Commerce marks the transaction as failed. No other actions (such as authorization reversal) are taken.