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 Invalid Receive Payment Request.story

Scenario: Handling of invalid payment request from SIC5 where currency doesn’t exist

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 with values:
| FIToFICstmrCdtTrf.grpHdr.msgId | NOT_SET |

Then ⦅Payment Service⦆ receives a System Event using predicate:
| level | ERROR |
| name | InvalidMessageReceived |
| type | FUNCTIONAL |

Then ⦅Payment Service⦆ receives a System Event using predicate:
| level | ERROR |
| name | InboundMessageFailed |
| type | TECHNICAL |

Then the ⦅Payment Service⦆ receives a Dead Letter Message using predicate:
| error.receivedMessage.message.targetMessage | NOT_SET |
| error.receivedMessage.message.transportMessage.payload.contains(#CustomerCreditTransfer.FIToFICstmrCdtTrf.CdtTrfTxInf[0].PmtId.TxId) | true |

Then the ⦅Payment Service⦆ receives a System Event using predicate:
| level | ERROR |
| name | MessageSentToDeadletter |
| type | TECHNICAL |

And ⦅CSM⦆ receives a Payment Status Report using predicate:
| FIToFIPmtStsRpt.txInf*And*Sts[0].txSts | RJCT |
| FIToFIPmtStsRpt.txInf*And*Sts[0].stsRsnInf[0].rsn.cd | FF01 |
| FIToFIPmtStsRpt.txInf*And*Sts[0].orgnlGrpInf.orgnlMsgNmId | pacs.008 |
| FIToFIPmtStsRpt.txInf*And*Sts[0].clrSysRef | NOK002 |

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