Fix account verification check + copy on tip page (#6884)

bug fix + copy
This commit is contained in:
Thomas Zarebczan 2021-08-13 20:40:24 -04:00 committed by GitHub
parent 3f162eb285
commit a75ce9818c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -620,7 +620,7 @@ function WalletSendTip(props: Props) {
{activeTab !== TAB_FIAT ? ( {activeTab !== TAB_FIAT ? (
<WalletSpendableBalanceHelp /> <WalletSpendableBalanceHelp />
) : !canReceiveFiatTip ? ( ) : !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> <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 && ( {useCustomTip && activeTab === TAB_FIAT && hasCardSaved && !canReceiveFiatTip && (
<> <>
<div className="help"> <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> </div>
</> </>
)} )}
@ -292,7 +292,7 @@ function WalletTipAmountSelector(props: Props) {
{!useCustomTip && activeTab === TAB_FIAT && hasCardSaved && !canReceiveFiatTip && ( {!useCustomTip && activeTab === TAB_FIAT && hasCardSaved && !canReceiveFiatTip && (
<> <>
<div className="help"> <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> </div>
</> </>
)} )}

View file

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