Documentation for a newer release is available. View Latest

Handle Negative Creditor CT Account Validation Failure.story

Meta
+stsReqEnabled+:

Scenario: Handling customer credit transfer with account validation fails

com.iconsolutions.ipf.payments.csm.sic5.application.bdd.testfw.Steps.parseMeta(java.lang.String)

com.iconsolutions.ipf.payments.csm.sic5.application.bdd.testfw.Steps.parseLegacy(java.lang.String)

When ⦅the CSM⦆ sends a Customer Credit Transfer

Then ⦅the Payment Service⦆ receives a Receive Payment Request

When the ⦅Payment Service⦆ sends a Receive Payment Response with values:
| payload.content.txInf*And*Sts[0].txSts | RJCT |
| payload.content.txInf*And*Sts[0].stsRsnInf[0].rsn.cd | AC01 |
| status | REJECT |
| payload.content.txInf*And*Sts[0].clrSysRef | NEG002 |

Then ⦅the CSM⦆ receives a Payment Status Report with values:
| FIToFIPmtStsRpt.txInf*And*Sts[0].stsRsnInf[0].rsn.cd | AC01 |
| FIToFIPmtStsRpt.txInf*And*Sts[0].txSts | RJCT |
| FIToFIPmtStsRpt.txInf*And*Sts[0].clrSysRef | NEG002 |

Then ⦅the CSM⦆ does not receive a Payment Status Request

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()