- ) : null}
-
- ) : null}
-
- );
-};
-
-PayoutDetailsFormCompanyComponent.defaultProps = {
- id: null,
- disabled: false,
-};
-
-PayoutDetailsFormCompanyComponent.propTypes = {
- id: string,
- disabled: bool,
-
- // from injectIntl
- intl: intlShape.isRequired,
-};
-
-const PayoutDetailsFormCompany = compose(injectIntl)(PayoutDetailsFormCompanyComponent);
-
-export default PayoutDetailsFormCompany;
diff --git a/src/forms/PayoutDetailsForm/PayoutDetailsFormIndividual.js b/src/forms/PayoutDetailsForm/PayoutDetailsFormIndividual.js
deleted file mode 100644
index 55ffe0c9..00000000
--- a/src/forms/PayoutDetailsForm/PayoutDetailsFormIndividual.js
+++ /dev/null
@@ -1,48 +0,0 @@
-import React from 'react';
-import { bool } from 'prop-types';
-import { compose } from 'redux';
-import { injectIntl, intlShape } from 'react-intl';
-
-import PayoutDetailsAddress from './PayoutDetailsAddress';
-import PayoutDetailsBankDetails from './PayoutDetailsBankDetails';
-import PayoutDetailsPersonalDetails from './PayoutDetailsPersonalDetails';
-
-const PayoutDetailsFormIndividualComponent = ({ fieldRenderProps }) => {
- const { disabled, form, intl, values } = fieldRenderProps;
- const { country } = values;
-
- return (
-
-
-
-
-
- );
-};
-
-PayoutDetailsFormIndividualComponent.defaultProps = {
- disabled: false,
-};
-
-PayoutDetailsFormIndividualComponent.propTypes = {
- disabled: bool,
-
- // from injectIntl
- intl: intlShape.isRequired,
-};
-
-const PayoutDetailsFormIndividual = compose(injectIntl)(PayoutDetailsFormIndividualComponent);
-
-export default PayoutDetailsFormIndividual;
diff --git a/src/stripe-config.js b/src/stripe-config.js
index 6753b1e0..611d9bba 100644
--- a/src/stripe-config.js
+++ b/src/stripe-config.js
@@ -7,13 +7,6 @@
// To make Stripe connection work, you also need to set Stripe's private key in the Flex Console.
export const stripePublishableKey = process.env.REACT_APP_STRIPE_PUBLISHABLE_KEY;
-// You can check your Stripe API version from Stripe Dashboard -> Developers.
-// If you are using the API version that is earlier than '2019-02-19' change this value to 'true'
-// See Stripe API changelog: https://stripe.com/docs/upgrades#api-changelog
-// NOTE: we are not supporting company accounts with new Stripe API yet!
-// The option for company accounts will be hidden if this value is set to 'false'
-export const useDeprecatedLegalEntityWithStripe = false;
-
// Stripe only supports payments in certain countries, see full list
// at https://stripe.com/global
//
diff --git a/src/translations/en.json b/src/translations/en.json
index a90a1a51..3594b6b4 100644
--- a/src/translations/en.json
+++ b/src/translations/en.json
@@ -456,10 +456,6 @@
"PasswordResetPage.resetFailed": "Reset failed. Please try again.",
"PasswordResetPage.title": "Reset password",
"PayoutDetailsForm.accountTypeTitle": "Account type",
- "PayoutDetailsForm.additionalOwnersInfoLink": "Stripe support.",
- "PayoutDetailsForm.additionalOwnerInfoText": "For Hong Kong, Singapore, and Single Euro Payments Area member countries, Stripe requires information of every person that owns at least 25% of the company. For more information, see {additionalOwnersInfoLink}",
- "PayoutDetailsForm.additionalOwnerLabel": "Add additional owner",
- "PayoutDetailsForm.additionalOwnerRemove": "Remove additional owner",
"PayoutDetailsForm.addressTitle": "Address",
"PayoutDetailsForm.bankDetails": "Bank details",
"PayoutDetailsForm.birthdayDatePlaceholder": "dd",