code-corps / code-corps/code-corps-api
API does not handle card / charge errors
Aperta
- Lingua principale
- Elixir
- Stelle
- 234
- Fork
- 82
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
# Problem
We have just a match error for card declines right now. We should provide a more appropriate response to the user since there's no error handling specific to the card being declined at all.
```elixir
no match of right hand side value: {:error, %Stripe.APIErrorResponse{code: "card_declined", message: "Your card was declined.", status_code: 402, type: "card_error"}}
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.