pagopa / io-app

IO, l'app dei servizi pubblici
https://io.italia.it
European Union Public License 1.2
567 stars 98 forks source link

chore: [IOBP-564] Update payment's validation failure mapping #5694

Closed mastro993 closed 3 weeks ago

mastro993 commented 4 weeks ago

[!WARNING] This PR depends on https://github.com/pagopa/io-dev-api-server/pull/368

Short description

This PR updates the pagoPA API definitions to update the payment's verification/validation failures mappings

List of changes proposed in this pull request

How to test

Checkout this PR on the io-dev-api-server. Add the following piece of configuration in theconfig.json file and play around with fault category codes, trying to reproduce the error screens.

 "features": {
    "wallet": {
      "verificationFailure": {
        "faultCodeCategory": "PAYMENT_UNKNOWN",
        "faultCodeDetail": "PAA_PAGAMENTO_SCONOSCIUTO"
      }
    }
  }

Preview

https://github.com/pagopa/io-app/assets/6160324/7efaee4f-cb79-46ba-99a6-f62d25fa40fe

pagopa-github-bot commented 4 weeks ago

Affected stories

Generated by :no_entry_sign: dangerJS against f60da25b5b3c2c5e861cfba314d222415073bfca

dpulls[bot] commented 3 weeks ago

:tada: All dependencies have been resolved !