Documentation for a newer release is available. View Latest
Esta página no está disponible actualmente en Español. Si lo necesita, póngase en contacto con el servicio de asistencia de Icon (correo electrónico)

Handle Status Request Cancellation.story

Scenario: Clear and settle not resolved within configured time

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 ⦅Payment Service⦆ sends a Status Request with values:
| payload.content.txInf[0].orgnlGrpInf.orgnlMsgNmId | pacs.008.001.08 |
| payload.content.txInf[0].orgnlGrpInf.orgnlMsgId | #CustomerCreditTransfer.FIToFICstmrCdtTrf.GrpHdr.MsgId |
| payload.content.txInf[0].instdAgt.finInstnId.clrSysMmbId.mmbId | 654321 |
| payload.content.txInf[0].instgAgt.finInstnId.clrSysMmbId.mmbId | 54321 |
| payload.content.txInf[0].clrSysRef | NOT_SET |

Then ⦅the CSM⦆ receives a Payment Status Request with values:
| FIToFIPmtStsReq.txInf[0].orgnlGrpInf.orgnlMsgNmId | pacs.008.001.08 |
| FIToFIPmtStsReq.txInf[0].orgnlGrpInf.orgnlMsgId | #CustomerCreditTransfer.FIToFICstmrCdtTrf.GrpHdr.MsgId |
| FIToFIPmtStsReq.txInf[0].instdAgt.finInstnId.clrSysMmbId.mmbId | 654321 |
| FIToFIPmtStsReq.txInf[0].instgAgt.finInstnId.clrSysMmbId.mmbId | 54321 |
| FIToFIPmtStsReq.txInf[0].instgAgt.finInstnId.othr.id | SIP |
| FIToFIPmtStsReq.txInf[0].clrSysRef | IPSRCP |

!-- CSM responds with first a OKA we are sending response

When the ⦅CSM⦆ sends a Payment Status Report with values:
| FIToFIPmtStsRpt.txInf*And*Sts[0].orgnlGrpInf.orgnlMsgId | #StatusRequest.payload.content.grpHdr.msgId |
| FIToFIPmtStsRpt.txInf*And*Sts[0].orgnlGrpInf.orgnlMsgNmId | pacs.028.001.001 |
| FIToFIPmtStsRpt.txInf*And*Sts[0].clrSysRef | OKA002 |
| FIToFIPmtStsRpt.txInf*And*Sts[0].txSts | ACCP |

Then ⦅the Payment Service⦆ receives a Status Request Response with values:
| payload.content.txInf*And*Sts[0].orgnlGrpInf.orgnlMsgNmId | pacs.028.001.001 |
| payload.content.txInf*And*Sts[0].clrSysRef | OKA002 |

!-- CSM then sends response

When the ⦅CSM⦆ sends a Payment Status Report with values:
| FIToFIPmtStsRpt.txInf*And*Sts[0].orgnlGrpInf.orgnlMsgNmId | pacs.008.001.08 |
| FIToFIPmtStsRpt.txInf*And*Sts[0].txSts | CANC |
| FIToFIPmtStsRpt.txInf*And*Sts[0].stsRsnInf[0].rsn.cd | ED05 |
| FIToFIPmtStsRpt.txInf*And*Sts[0].clrSysRef | NEG002 |

Then ⦅the Payment Service⦆ receives a Clear And Settle Response with values:
| payload.content.txInf*And*Sts[0].orgnlGrpInf.orgnlMsgNmId | pacs.008.001.08 |
| payload.content.txInf*And*Sts[0].txSts | CANC |
| payload.content.txInf*And*Sts[0].stsRsnInf[0].rsn.cd | ED05 |
| payload.content.txInf*And*Sts[0].clrSysRef | NEG002 |
| status | REJECT |

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