mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
♻️ Use new PaymentFlow in StepPaymentMethods
This commit is contained in:
parent
0cb6bc4bb3
commit
9c7535e6dd
3 changed files with 50 additions and 33 deletions
|
@ -4,7 +4,7 @@ import { CommonHooks, OnboardingHooks } from '../../../../data';
|
|||
import { OptionSelector } from '../../../ReusableComponents/Fields';
|
||||
import PricingDescription from '../../../ReusableComponents/PricingDescription';
|
||||
import OnboardingHeader from '../Components/OnboardingHeader';
|
||||
import OptionalPaymentMethods from '../Components/OptionalPaymentMethods';
|
||||
import PaymentFlow from '../Components/PaymentFlow';
|
||||
|
||||
const StepPaymentMethods = ( {} ) => {
|
||||
const { optionalMethods, setOptionalMethods } =
|
||||
|
@ -49,7 +49,8 @@ const OptionalMethodDescription = () => {
|
|||
const { storeCountry, storeCurrency } = CommonHooks.useWooSettings();
|
||||
|
||||
return (
|
||||
<OptionalPaymentMethods
|
||||
<PaymentFlow
|
||||
onlyOptional={ true }
|
||||
useAcdc={ true }
|
||||
isFastlane={ true }
|
||||
isPayLater={ true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue