C1-TND-VALID

This algorithm is invoked when the user clicks the Validate button. It validates the records which are in the Pending status. It validates the following:

  • The derived payment event ID is valid.

  • The derived payment event does not have multiple payment tenders associated with it.

  • The payment cancel reason given in the record is valid.

  • The payment tender is not in the Canceled status.

  • Any payment of the payment event is not in the Incomplete, Freezable, Error, or Canceled status.

  • Any payment of the payment event is either not partially or fully refunded to the customer.

  • The bank code given in the record is valid.

  • The bank account is defined for the respective bank code in the system.

  • The bank code is available when the bank account is specified in the record and vice versa.

If any of above validations fail, the status of the record in the C1_​UPLOAD_​REQ_​DTLS table is changed to Invalid. However, if all the above validations are successful, the status of the record in the C1_​UPLOAD_​REQ_​DTLS table is changed to Valid. Once all the pending records in the upload request are validated, the status of the upload request is changed to Validated.

Note: If there are no pending records while validating an upload request, a message appears indicating that there are no records to be validated. In such case, you can only delete an upload request.