mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
👔 Force BCDC choices for personal accounts
This commit is contained in:
parent
7369b8dbda
commit
5e00c7d082
1 changed files with 6 additions and 1 deletions
|
@ -47,11 +47,16 @@ const PaymentStepTitle = () => {
|
|||
|
||||
const OptionalMethodDescription = () => {
|
||||
const { storeCountry, storeCurrency } = CommonHooks.useWooSettings();
|
||||
const { isCasualSeller } = OnboardingHooks.useBusiness();
|
||||
|
||||
/**
|
||||
* Casual sellers = Personal accounts. Those accounts have no ACDC-capabilities, but should get
|
||||
* the choice for BCDC-payments.
|
||||
*/
|
||||
return (
|
||||
<PaymentFlow
|
||||
onlyOptional={ true }
|
||||
useAcdc={ true }
|
||||
useAcdc={ ! isCasualSeller }
|
||||
isFastlane={ true }
|
||||
isPayLater={ true }
|
||||
storeCountry={ storeCountry }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue