Problem
The payments/funds-recipient component needs to be modified to have the following behavior, tested in an integration test.
Depending on the stripeConnectAccount model's recipient_status:
pending_requirement - show just "Funds recipient" box with no other information, no fields, nothing; only the title
required - renders the child details-form component
verifying - render the verification-document and personal-id-number components
verified - show the verified name of the individual, and the legal entity name if there is one
Problem
The
payments/funds-recipientcomponent needs to be modified to have the following behavior, tested in an integration test.Depending on the
stripeConnectAccountmodel'srecipient_status:pending_requirement- show just "Funds recipient" box with no other information, no fields, nothing; only the titlerequired- renders the childdetails-formcomponentverifying- render theverification-documentandpersonal-id-numbercomponentsverified- show the verified name of the individual, and the legal entity name if there is one