Documentation for a newer release is available. View Latest

Handle Invalid Clear And Settle Request.story

Scenario: Handling invalid clear and settle request


Steps
When the 'Payment Service' sends a '<FileName>' 'Clear And Settle Request'
Then the 'CSM' receives a corresponding 'System Event' using predicate:
| level                                 | ERROR                           |
| processingContext.associationId.value | #ClearAndSettleRequest.ipfId    |
| name                                  | OutboundMessageValidationFailed |
| payload.reasonCode                    | FF01                            |
| type                                  | TECHNICAL                       |
Examples:
FileName

Invalid Xsd

With Mutex Ctgy Purp

Example: {FileName=Invalid Xsd}

When the ⦅Payment Service⦆ sends a ⦅Invalid Xsd⦆ Clear And Settle Request

Then the ⦅CSM⦆ receives a corresponding System Event using predicate:
| level | ERROR |
| processingContext.associationId.value | #Clear*And*SettleRequest.ipfId |
| name | OutboundMessageValidationFailed |
| payload.reasonCode | FF01 |
| type | TECHNICAL |

Example: {FileName=With Mutex Ctgy Purp}

When the ⦅Payment Service⦆ sends a ⦅With Mutex Ctgy Purp⦆ Clear And Settle Request

Then the ⦅CSM⦆ receives a corresponding System Event using predicate:
| level | ERROR |
| processingContext.associationId.value | #Clear*And*SettleRequest.ipfId |
| name | OutboundMessageValidationFailed |
| payload.reasonCode | FF01 |
| type | TECHNICAL |