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

API does not handle card / charge errors

オープン
#551 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Elixir
スター
234
フォーク
82
PR マージ指標
30日以内にマージされた PR はありません

説明

# 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"}}
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。