Skip to content
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

fix: pass null instead of empty string for routing number #809

Merged
merged 4 commits into from
Feb 17, 2022

Conversation

charliecruzan-stripe
Copy link
Collaborator

Summary

Android apps would crash if routing number passed was an empty string, so now we default to null. Also added a check to help out folks in the US- routing numbers are required for US bank accounts.

Additionally, the runCatching block wasn't catching errors thrown inside of CoroutineScope, so moved that inside the block.

Motivation

Fixes #807

Testing

  • I tested this manually
  • I added automated tests

Documentation

Select one:

  • I have added relevant documentation for my changes.
  • This PR does not result in any developer-facing changes.

@charliecruzan-stripe charliecruzan-stripe merged commit f0e3f16 into master Feb 17, 2022
@charliecruzan-stripe charliecruzan-stripe deleted the charliecruzan/fixbankaccountcrash branch February 17, 2022 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when providing no routing number when creating token for bank
2 participants