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

StripePlatformCardController has unhandled response cases

Abierto
#1,032 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Elixir
Estrellas
234
Forks
82
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

# 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.