New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
miss error invalid_bank_account_iban\invalid_owner_name #144
Comments
Hi @i18n-now , thanks for the issue! The error codes you mentioned are only used by the Sources API, which is deprecated. As mentioned on the page you linked, Stripe recommends using the Payment Intents and PaymentMethods APIs to integrate with SEPA Direct Debit - you can follow the instructions at https://stripe.com/docs/payments/sepa-debit/accept-a-payment. Would that alternative work for you? |
Apologies for my confusion @i18n-now , I double checked with the team behind SEPA Direct Debit and it seems these errors are shared between the deprecated Sources API and the PaymentIntents and PaymentMethods APIs. You're right that these are missing from the spec, I'll look into getting these added. |
Looking forward to adding it soon, because missing these errors will cause the rust program to crash. (The rust program is the code generated based on this configuration) |
Hello @i18n-now -- this should now be resolved, as the SEPA Direct Debit API will now return errors that are documented in the spec. Thanks again for flagging this! |
https://stripe.com/docs/sources/sepa-debit
Source creation for SEPA Direct Debit payments may return any of the following errors:
invalid_owner_name
invalid_bank_account_iban
processing_error
payment_method_not_available
seems loss invalid_owner_name\invalid_bank_account_iban
will cause error in rust arlyon/async-stripe#479
Describe the bug
crash
To Reproduce
parse
Expected behavior
crash on this setup indent
Code snippets
OS
mac
Rust version
cargo 1.77.0-nightly (3e428a38a 2024-01-09)
Library version
v0.29.0
API version
latest
The text was updated successfully, but these errors were encountered: