♻️ Use new PaymentFlow in StepPaymentMethods

This commit is contained in:
Philipp Stracker 2025-02-03 19:17:13 +01:00
parent 0cb6bc4bb3
commit 9c7535e6dd
No known key found for this signature in database
3 changed files with 50 additions and 33 deletions

View file

@ -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 }