Don't recommend additional gateways when WCPay is present
This commit is contained in:
parent
67f89285d7
commit
ddf430ffdc
|
@ -245,7 +245,8 @@ export const PaymentGatewaySuggestions = ( { onComplete, query } ) => {
|
||||||
<List
|
<List
|
||||||
heading={ additionalSectionHeading }
|
heading={ additionalSectionHeading }
|
||||||
headingDescription={ additionalSectionHeadingDescription }
|
headingDescription={ additionalSectionHeadingDescription }
|
||||||
recommendation={ recommendation }
|
// No recommendation if WooPayments is supported (and displayed).
|
||||||
|
recommendation={ isWCPaySupported ? false : recommendation }
|
||||||
paymentGateways={ additionalGateways }
|
paymentGateways={ additionalGateways }
|
||||||
markConfigured={ markConfigured }
|
markConfigured={ markConfigured }
|
||||||
footerLink={
|
footerLink={
|
||||||
|
|
Loading…
Reference in New Issue