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 Receive Payment Response with Send Outcome Enabled.story

Meta
+sendOutcomeEnabled+:

Scenario: Handling of payment response with Send Outcome Enabled


Steps
When the CSM sends a 'Customer Credit Transfer'
Then the Payment Service receives a 'Receive Payment Request'
When Payment Service sends a 'Receive Payment Response'
Then CSM receives a 'Payment Status Report'
When CSM sends a 'Send Outcome' with values:
| HEADER.IPG_SEND_OUTCOME        | <Result>        |
| HEADER.IPG_SEND_FAILURE_REASON | <FailureReason> |
Then Payment Service receives a 'Technical Response' with values:
| status | <Result>        |
| reason | <FailureReason> |
Tabla 1. Examples:
Result FailureReason

SUCCESS

NOT_SET

FAILURE

technical-response-failure

Example: {Result=SUCCESS, FailureReason=NOT_SET, sendOutcomeEnabled=}

When the ⦅CSM⦆ sends a Customer Credit Transfer

Then the ⦅Payment Service⦆ receives a Receive Payment Request

When ⦅Payment Service⦆ sends a Receive Payment Response

Then ⦅CSM⦆ receives a Payment Status Report

When ⦅CSM⦆ sends a Send Outcome with values:
| HEADER.IPG_SEND_OUTCOME | ⦅SUCCESS⦆ |
| HEADER.IPG_SEND_FAILURE_REASON | ⦅NOT_SET⦆ |

Then ⦅Payment Service⦆ receives a Technical Response with values:
| status | ⦅SUCCESS⦆ |
| reason | ⦅NOT_SET⦆ |

Example: {Result=FAILURE, FailureReason=technical-response-failure, sendOutcomeEnabled=}

When the ⦅CSM⦆ sends a Customer Credit Transfer

Then the ⦅Payment Service⦆ receives a Receive Payment Request

When ⦅Payment Service⦆ sends a Receive Payment Response

Then ⦅CSM⦆ receives a Payment Status Report

When ⦅CSM⦆ sends a Send Outcome with values:
| HEADER.IPG_SEND_OUTCOME | ⦅FAILURE⦆ |
| HEADER.IPG_SEND_FAILURE_REASON | ⦅technical-response-failure⦆ |

Then ⦅Payment Service⦆ receives a Technical Response with values:
| status | ⦅FAILURE⦆ |
| reason | ⦅technical-response-failure⦆ |