Skip to content

Create a payments/funds-recipient/details-form component #884

Description

@joshsmith

Problem

The payments/funds-recipient/details-form component will live inside of the funds-recipient component.

It will have the recipient type (business or individual), form fields for both types, and a submit button.

It can send a route action up to the route upon submission. Ideally this action would expect a promise to be returned from the route so that the button can load asynchronously until we get a response.

Depending on the stripeConnectAccount model's recipient_status:

  • required - show the form fields, including a radio button for selecting individual or legal entity
    • if individual - show the personal information fields
    • if legal_entity - show the personal and legal entity fields (with legal entity fields shown first)
  • errored - show the fields with any relevant errors as to what's missing; can come from the fields_needed hash and used to match to those fields

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions