mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-29 21:21:19 +10:00
PayoutDetailsForm: Fix individual account business URL for US
This commit is contained in:
parent
8247e54988
commit
d45f102940
1 changed files with 5 additions and 1 deletions
|
|
@ -33,7 +33,11 @@ const PayoutDetailsIndividualAccountComponent = props => {
|
|||
const showMCCForUSField = !!individualConfig.mccForUS;
|
||||
const showBusinssProfileSection = showBusinessURLField || showMCCForUSField;
|
||||
|
||||
const hasBusinessURL = values && values.businessProfile && values.businessProfile.url;
|
||||
const hasBusinessURL =
|
||||
values &&
|
||||
values.individual &&
|
||||
values.individual.businessProfile &&
|
||||
values.individual.businessProfile.url;
|
||||
|
||||
// Use user profile page as business_url on this marketplace
|
||||
// or just fake it if it's dev environment using Stripe test endpoints.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue