code-corps / code-corps/code-corps-ember

Handle various Stripe.js error responses

オープン
#933 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Skill: Ember.js Skill: JavaScript
主要言語
JavaScript
スター
120
フォーク
75
PR マージ指標
30日以内にマージされた PR はありません

説明

# Problem

This issue can serve as a compiled list of `Stripe.js` error responses we can encounter. Typically, these occur when we're creating tokens, for example, for cards, bank accounts, etc.

We may want to use them in the future, to generate validation errors for components of our account setup form.

List of error responses:

```JSON
{
"error": {
"type": "invalid_request_error",
"message": "Routing number must have 9 digits",
"param": "bank_account"
}
}

// we can probably punt this one

{
"error": {
"type": "invalid_request_error",
"message": "You cannot use a live bank account number when making transfers or debits in test mode",
"param": "bank_account"
}
}
```

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

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

評価

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

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

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