code-corps / code-corps/code-corps-api

StripePlatformCardController has unhandled response cases

Aberta
#1,032 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Elixir
Estrelas
234
Forks
82
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

# Problem

Similar to the issue described in #1031, `StripePlatformCardController` has unhandled response cases, which will all render as a 500.

The difference is, in this case, they are not properly mapped in `CodeCorps.StripeService.StripePlatformCardService` either, so we need to map them there as well.

# Steps needed in order to provide a time estimate

We should consider splitting these into separate tasks

- identify all possible responses for `CodeCorps.StripeService.StripePlatformCardService.create`
- discuss if the responses should be mapped differently
- apply new mapping if any
- handle these responses in the controller/fallback controller

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.