Documentation for a newer release is available. View Latest

Handle Outbound Clear And Settle Request Happy Path.story

Scenario: Handling Outbound clear and settle request

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 Payment Service⦆ sends a Clear And Settle Request

Then ⦅the CSM⦆ receives a Customer Credit Transfer

When the ⦅CSM⦆ sends a Payment Status Report with values:
| FIToFIPmtStsRpt.txInf*And*Sts[0].txSts | ACSC |
| FIToFIPmtStsRpt.txInf*And*Sts[0].instdAgt.finInstnId.clrSysMmbId.mmbId | 654321 |
| FIToFIPmtStsRpt.txInf*And*Sts[0].clrSysRef | EXC002 |

Then ⦅the Payment Service⦆ receives a Clear And Settle Response with values:
| payload.content.txInf*And*Sts[0].OrgnlGrpInf.OrgnlMsgNmId | pacs.008.001.08.ch.02 |
| payload.content.txInf*And*Sts[0].orgnlTxId | #PaymentStatusReport.fIToFIPmtStsRpt.txInf*And*Sts[0].orgnlTxId |
| payload.content.txInf*And*Sts[0].instdAgt.finInstnId.clrSysMmbId.mmbId | 654321 |
| payload.content.txInf*And*Sts[0].txSts | ACSC |
| status | SUCCESS |
| payload.content.txInf*And*Sts[0].clrSysRef | EXC002 |

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()