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 Creditor Confirmation Failure.story

Scenario: Status requests for missing creditor confirmation results in NOK

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.08.001.08 |
| payload.content.txInf[0].orgnlGrpInf.orgnlMsgId | #CustomerCreditTransfer.FIToFICstmrCdtTrf.GrpHdr.MsgId |
| payload.content.txInf[0].instdAgt.finInstnId.clrSysMmbId.mmbId | 318668 |
| payload.content.txInf[0].instgAgt.finInstnId.clrSysMmbId.mmbId | 11111 |
| payload.content.txInf[0].clrSysRef | NOT_SET |
| customBusinessData | supportingContext(flowType, CREDITOR) |

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 | 11111 |
| FIToFIPmtStsReq.txInf[0].instgAgt.finInstnId.clrSysMmbId.mmbId | 318668 |
| FIToFIPmtStsReq.txInf[0].instgAgt.finInstnId.othr.id | SIP |
| FIToFIPmtStsReq.txInf[0].clrSysRef | IPSRCP |

!-- CSM sends a 'Payment Status Report' with status 'RJCT' and 'NOK002' in the 'clrSysRef' field

When the ⦅CSM⦆ sends a Payment Status Report with values:
| FIToFIPmtStsRpt.txInf*And*Sts[0].orgnlGrpInf.orgnlMsgNmId | pacs.028.001.08 |
| FIToFIPmtStsRpt.txInf*And*Sts[0].orgnlTxId | #StatusRequest.payload.content.txInf[0].stsReqId |
| FIToFIPmtStsRpt.txInf*And*Sts[0].txSts | RJCT |
| FIToFIPmtStsRpt.txInf*And*Sts[0].instgAgt.finInstnId.clrSysMmbId.mmbId | 11111 |
| FIToFIPmtStsRpt.txInf*And*Sts[0].instdAgt.finInstnId.clrSysMmbId.mmbId | 318668 |
| FIToFIPmtStsRpt.txInf*And*Sts[0].clrSysRef | NOK002 |

Then ⦅the Payment Service⦆ receives a Creditor Status Request Response with values:
| payload.content.txInf*And*Sts[0].orgnlGrpInf.orgnlMsgNmId | pacs.028.001.08 |
| payload.content.txInf*And*Sts[0].txSts | RJCT |
| payload.content.txInf*And*Sts[0].instgAgt.finInstnId.clrSysMmbId.mmbId | 11111 |
| payload.content.txInf*And*Sts[0].instdAgt.finInstnId.clrSysMmbId.mmbId | 318668 |
| payload.content.txInf*And*Sts[0].clrSysRef | NOK002 |
| 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()