Fix account verification check + copy on tip page #6884

Merged
tzarebczan merged 3 commits from stripe-fxies into master 2021-08-14 02:40:25 +02:00
3 changed files with 4 additions and 4 deletions

View file

@ -620,7 +620,7 @@ function WalletSendTip(props: Props) {
{activeTab !== TAB_FIAT ? (
<WalletSpendableBalanceHelp />
) : !canReceiveFiatTip ? (
<div className="help">{__('Only select creators can receive tips at this time')}</div>
<div className="help">{__('Only creators that verify cash accounts can receive tips')}</div>
) : (
<div className="help">{__('The payment will be made from your saved card')}</div>
)}

View file

@ -224,7 +224,7 @@ function WalletTipAmountSelector(props: Props) {
{useCustomTip && activeTab === TAB_FIAT && hasCardSaved && !canReceiveFiatTip && (
<>
<div className="help">
<span className="help--spendable">Only select creators can receive tips at this time</span>
<span className="help--spendable">Only creators that verify cash accounts can receive tips</span>
</div>
</>
)}
@ -292,7 +292,7 @@ function WalletTipAmountSelector(props: Props) {
{!useCustomTip && activeTab === TAB_FIAT && hasCardSaved && !canReceiveFiatTip && (
<>
<div className="help">
<span className="help--spendable">Only select creators can receive tips at this time</span>
<span className="help--spendable">Only creators that verify cash accounts can receive tips</span>
</div>
</>
)}

View file

@ -144,7 +144,7 @@ class StripeAccountConnection extends React.Component<Props, State> {
stillRequiringVerification: false,
};
if ((eventuallyDueInformation && eventuallyDueInformation.length) || (currentlyDueInformation && currentlyDueInformation)) {
if ((eventuallyDueInformation && eventuallyDueInformation.length) || (currentlyDueInformation && currentlyDueInformation.length)) {
objectToUpdateState.stillRequiringVerification = true;
getAndSetAccountLink(false);
}