+ { /* Use wrapping div to keep buttons grouped together. */ }
+
+
+
+
+
+
+ setModalVisible( false ) }
+ onSubmit={ handleReset }
+ />
+ >
+ );
+};
diff --git a/client/components/account-status/account-tools/strings.tsx b/client/components/account-status/account-tools/strings.tsx
new file mode 100644
index 00000000000..47c668d0a88
--- /dev/null
+++ b/client/components/account-status/account-tools/strings.tsx
@@ -0,0 +1,15 @@
+/* eslint-disable max-len */
+/**
+ * External dependencies
+ */
+import { __ } from '@wordpress/i18n';
+
+export default {
+ title: __( 'Account Tools', 'woocommerce-payments' ),
+ description: __(
+ 'Payments and deposits are disabled until account setup is completed. If you are experiencing problems completing account setup, or need to change the email/country associated with your account, you can reset your account and start from the beginning.',
+ 'woocommerce-payments'
+ ),
+ finish: __( 'Finish setup', 'woocommerce-payments' ),
+ reset: __( 'Reset account', 'woocommerce-payments' ),
+};
diff --git a/client/components/account-status/account-tools/styles.scss b/client/components/account-status/account-tools/styles.scss
new file mode 100644
index 00000000000..aa2a29348cd
--- /dev/null
+++ b/client/components/account-status/account-tools/styles.scss
@@ -0,0 +1,11 @@
+.account-tools {
+ padding-top: $gap;
+
+ &__actions {
+ display: grid;
+ grid-auto-flow: column;
+ grid-auto-columns: max-content;
+ column-gap: $gap-small;
+ margin-top: $gap-small;
+ }
+}
diff --git a/client/components/account-status/account-tools/test/__snapshots__/index.test.tsx.snap b/client/components/account-status/account-tools/test/__snapshots__/index.test.tsx.snap
new file mode 100644
index 00000000000..cfeba86037a
--- /dev/null
+++ b/client/components/account-status/account-tools/test/__snapshots__/index.test.tsx.snap
@@ -0,0 +1,40 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`AccountTools should render in live mode 1`] = `
+
+
+
+
+ Account Tools
+
+
+ Payments and deposits are disabled until account setup is completed. If you are experiencing problems completing account setup, or need to change the email/country associated with your account, you can reset your account and start from the beginning.
+
+`;
diff --git a/client/components/account-status/account-tools/test/index.test.tsx b/client/components/account-status/account-tools/test/index.test.tsx
new file mode 100644
index 00000000000..7c5827b115a
--- /dev/null
+++ b/client/components/account-status/account-tools/test/index.test.tsx
@@ -0,0 +1,49 @@
+/** @format */
+/**
+ * External dependencies
+ */
+import React from 'react';
+import { render, screen } from '@testing-library/react';
+
+/**
+ * Internal dependencies
+ */
+import { AccountTools } from '..';
+
+const accountLink = '/onboarding';
+const openModal = jest.fn();
+
+declare const global: {
+ wcpaySettings: {
+ devMode: boolean;
+ };
+};
+
+describe( 'AccountTools', () => {
+ it( 'should render in live mode', () => {
+ global.wcpaySettings = {
+ devMode: false,
+ };
+
+ const { container } = render(
+
+ );
+ expect( container ).toMatchSnapshot();
+ } );
+
+ it( 'should not render in dev mode', () => {
+ global.wcpaySettings = {
+ devMode: true,
+ };
+
+ render(
+
+ );
+
+ expect(
+ screen.queryByText(
+ 'If you are experiencing problems completing account setup, or need to change the email/country associated with your account, you can reset your account and start from the beginning.'
+ )
+ ).not.toBeInTheDocument();
+ } );
+} );
diff --git a/client/components/account-status/index.js b/client/components/account-status/index.js
index 6a35084ad18..19fc715b1ff 100755
--- a/client/components/account-status/index.js
+++ b/client/components/account-status/index.js
@@ -23,6 +23,7 @@ import PaymentsStatus from 'components/payments-status';
import StatusChip from './status-chip';
import './style.scss';
import './shared.scss';
+import { AccountTools } from './account-tools';
const AccountStatusCard = ( props ) => {
const { title, children, value } = props;
@@ -102,6 +103,9 @@ const AccountStatusDetails = ( props ) => {
}
/>
+ { ! accountStatus.detailsSubmitted && (
+
+ ) }
{ accountFees.length > 0 && (
) }
diff --git a/client/components/account-status/test/__snapshots__/index.js.snap b/client/components/account-status/test/__snapshots__/index.js.snap
index edead6f2fbd..712f139c0ca 100644
--- a/client/components/account-status/test/__snapshots__/index.js.snap
+++ b/client/components/account-status/test/__snapshots__/index.js.snap
@@ -166,9 +166,53 @@ exports[`AccountStatus renders normal status 1`] = `
-
- Active discounts
-
+
+
+
+ Account Tools
+
+
+ Payments and deposits are disabled until account setup is completed. If you are experiencing problems completing account setup, or need to change the email/country associated with your account, you can reset your account and start from the beginning.
+