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

Handle various Stripe.js error responses

Đang mở
#933 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Skill: Ember.js Skill: JavaScript
Ngôn ngữ chính
JavaScript
Star
120
Fork
75
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.