Handle Validate Scheme Rules - invalid iban qr iban.story
Scenario: Handling validation of scheme rules invalid bic
Given csmReachability service will deconstruct iban 'CH34OSOAVGTLFAPNYIQHFDVZOCNCVQCLAU' with the following deconstruction:
| bankIdentifier | 00120 |
| ibanNationalId | CH |
And csmReachability service has the following record for the participant:
| csmAgentId | SicInst |
| csmParticipantIdentifier | 00120 |
| sic | SIC_PARTICIPATION_WITH_QR_IID |
When the Payment Service sends a '<ibanType>' 'Validate Scheme Rules Request' with values:
| getPayload().getContent().cdtTrfTxInf[0].instgAgt.finInstnId.clrSysMmbId.mmbId | 002940 |
| customBusinessData | supportingContext('flowType','DEBTOR') |
Then the Payment Service receives a 'Validate Scheme Rules Response' with values:
| status | FAILURE |
| getPayload().getContent().reasonCode | RR07 |
| getPayload().getContent().description | <errorText> |
| requestId | #ValidateSchemeRulesRequest.ipfId |
| ibanType | errorText |
|---|---|
QR IBAN Strd empty |
No valid Creditor Structured Remittance Type |
QR IBAN Ustrd not empty |
No valid Creditor Structured Remittance Type |
QR IBAN Prtry not QRR |
Creditor QR-IBAN not allowed for ISO Reference |
QR IBAN Prtry null |
Creditor QR-IBAN not allowed for ISO Reference |
Example: {errorText=No valid Creditor Structured Remittance Type, ibanType=QR IBAN Strd empty}
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)
Given csmReachability service will deconstruct iban 'CH34OSOAVGTLFAPNYIQHFDVZOCNCVQCLAU' with the following deconstruction:
| bankIdentifier | 00120 |
| ibanNationalId | CH |
And csmReachability service has the following record for the participant:
| csmAgentId | SicInst |
| csmParticipantIdentifier | 00120 |
| sic | SIC_PARTICIPATION_WITH_QR_IID |
When ⦅the Payment Service⦆ sends a ⦅QR IBAN Strd empty⦆ Validate Scheme Rules Request with values:
| getPayload().getContent().cdtTrfTxInf[0].instgAgt.finInstnId.clrSysMmbId.mmbId | 002940 |
| customBusinessData | supportingContext(flowType,DEBTOR) |
Then ⦅the Payment Service⦆ receives a Validate Scheme Rules Response with values:
| status | FAILURE |
| getPayload().getContent().reasonCode | RR07 |
| getPayload().getContent().description | ⦅No valid Creditor Structured Remittance Type⦆ |
| requestId | #ValidateSchemeRulesRequest.ipfId |
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()
Example: {errorText=No valid Creditor Structured Remittance Type, ibanType=QR IBAN Ustrd not empty}
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)
Given csmReachability service will deconstruct iban 'CH34OSOAVGTLFAPNYIQHFDVZOCNCVQCLAU' with the following deconstruction:
| bankIdentifier | 00120 |
| ibanNationalId | CH |
And csmReachability service has the following record for the participant:
| csmAgentId | SicInst |
| csmParticipantIdentifier | 00120 |
| sic | SIC_PARTICIPATION_WITH_QR_IID |
When ⦅the Payment Service⦆ sends a ⦅QR IBAN Ustrd not empty⦆ Validate Scheme Rules Request with values:
| getPayload().getContent().cdtTrfTxInf[0].instgAgt.finInstnId.clrSysMmbId.mmbId | 002940 |
| customBusinessData | supportingContext(flowType,DEBTOR) |
Then ⦅the Payment Service⦆ receives a Validate Scheme Rules Response with values:
| status | FAILURE |
| getPayload().getContent().reasonCode | RR07 |
| getPayload().getContent().description | ⦅No valid Creditor Structured Remittance Type⦆ |
| requestId | #ValidateSchemeRulesRequest.ipfId |
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()
Example: {errorText=Creditor QR-IBAN not allowed for ISO Reference, ibanType=QR IBAN Prtry not QRR}
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)
Given csmReachability service will deconstruct iban 'CH34OSOAVGTLFAPNYIQHFDVZOCNCVQCLAU' with the following deconstruction:
| bankIdentifier | 00120 |
| ibanNationalId | CH |
And csmReachability service has the following record for the participant:
| csmAgentId | SicInst |
| csmParticipantIdentifier | 00120 |
| sic | SIC_PARTICIPATION_WITH_QR_IID |
When ⦅the Payment Service⦆ sends a ⦅QR IBAN Prtry not QRR⦆ Validate Scheme Rules Request with values:
| getPayload().getContent().cdtTrfTxInf[0].instgAgt.finInstnId.clrSysMmbId.mmbId | 002940 |
| customBusinessData | supportingContext(flowType,DEBTOR) |
Then ⦅the Payment Service⦆ receives a Validate Scheme Rules Response with values:
| status | FAILURE |
| getPayload().getContent().reasonCode | RR07 |
| getPayload().getContent().description | ⦅Creditor QR-IBAN not allowed for ISO Reference⦆ |
| requestId | #ValidateSchemeRulesRequest.ipfId |
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()
Example: {errorText=Creditor QR-IBAN not allowed for ISO Reference, ibanType=QR IBAN Prtry null}
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)
Given csmReachability service will deconstruct iban 'CH34OSOAVGTLFAPNYIQHFDVZOCNCVQCLAU' with the following deconstruction:
| bankIdentifier | 00120 |
| ibanNationalId | CH |
And csmReachability service has the following record for the participant:
| csmAgentId | SicInst |
| csmParticipantIdentifier | 00120 |
| sic | SIC_PARTICIPATION_WITH_QR_IID |
When ⦅the Payment Service⦆ sends a ⦅QR IBAN Prtry null⦆ Validate Scheme Rules Request with values:
| getPayload().getContent().cdtTrfTxInf[0].instgAgt.finInstnId.clrSysMmbId.mmbId | 002940 |
| customBusinessData | supportingContext(flowType,DEBTOR) |
Then ⦅the Payment Service⦆ receives a Validate Scheme Rules Response with values:
| status | FAILURE |
| getPayload().getContent().reasonCode | RR07 |
| getPayload().getContent().description | ⦅Creditor QR-IBAN not allowed for ISO Reference⦆ |
| requestId | #ValidateSchemeRulesRequest.ipfId |
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()