Documentation for a newer release is available. View Latest

Handle Invalid Clear And Settle Response.story

Scenario: Handling invalid clear and settle responses


Steps
When the Payment Service sends a 'Clear And Settle Request'
Then the CSM receives a 'Customer Credit Transfer'
When 'CSM' sends a '<FileName>' 'Payment Status Report'
Then 'Payment Service' receives a 'System Event' using predicate:
| level | ERROR                |
| name  | InboundMessageFailed |
| type  | TECHNICAL            |
Examples:
FileName

Invalid Xsd

Invalid Xsd Grpsts And Txsts

Invalid Xsd Cd And Prtry

Invalid Xsd Grp Cd And Prtry

Example: {FileName=Invalid Xsd}

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

Then the ⦅CSM⦆ receives a Customer Credit Transfer

When ⦅CSM⦆ sends a ⦅Invalid Xsd⦆ Payment Status Report

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

Example: {FileName=Invalid Xsd Grpsts And Txsts}

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

Then the ⦅CSM⦆ receives a Customer Credit Transfer

When ⦅CSM⦆ sends a ⦅Invalid Xsd Grpsts And Txsts⦆ Payment Status Report

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

Example: {FileName=Invalid Xsd Cd And Prtry}

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

Then the ⦅CSM⦆ receives a Customer Credit Transfer

When ⦅CSM⦆ sends a ⦅Invalid Xsd Cd And Prtry⦆ Payment Status Report

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

Example: {FileName=Invalid Xsd Grp Cd And Prtry}

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

Then the ⦅CSM⦆ receives a Customer Credit Transfer

When ⦅CSM⦆ sends a ⦅Invalid Xsd Grp Cd And Prtry⦆ Payment Status Report

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