Problem
The payments/bank-account component will take in a stripeConnectAccount model and a stripeExternalAccount model and render several states based on its bank_account_status:
pending_requirement - the "Bank account" box with no other information, no fields, nothing; only the title
required - we need your bank account info w/ form and submit
verified - show the success state with the bank account last 4 number and the full routing number
When it's required, we'll have a form for adding your bank account routing number and account number, and use that in combination with ember-stripe-service to create a bank account token. We need to rewrite onBankAccountInformationSubmitted from #849 to be something more like addBankAccount, which will be a route action that will update the StripeConnectAccount with the token. This action will need to return a promise that can be used for changing loading status of the button.
The token will be used to set the external_account field of StripeConnectAccount with the token.
There is no verifying status for this component.
Problem
The
payments/bank-accountcomponent will take in astripeConnectAccountmodel and astripeExternalAccountmodel and render several states based on itsbank_account_status:pending_requirement- the "Bank account" box with no other information, no fields, nothing; only the titlerequired- we need your bank account info w/ form and submitverified- show the success state with the bank account last 4 number and the full routing numberWhen it's
required, we'll have a form for adding your bank account routing number and account number, and use that in combination withember-stripe-serviceto create a bank account token. We need to rewriteonBankAccountInformationSubmittedfrom #849 to be something more likeaddBankAccount, which will be a route action that will update theStripeConnectAccountwith the token. This action will need to return a promise that can be used for changing loading status of the button.The token will be used to set the
external_accountfield ofStripeConnectAccountwith the token.There is no
verifyingstatus for this component.