2024-12-09 17:38:17 +01:00
|
|
|
import { __ } from '@wordpress/i18n';
|
2024-12-12 16:55:19 +01:00
|
|
|
|
2024-12-12 17:02:48 +01:00
|
|
|
import PricingDescription from '../PricingDescription';
|
2024-11-26 15:01:21 +04:00
|
|
|
import AcdcFlow from './AcdcFlow';
|
|
|
|
import BcdcFlow from './BcdcFlow';
|
2024-11-12 19:23:30 +04:00
|
|
|
|
2024-12-12 17:54:38 +01:00
|
|
|
const WelcomeDocs = ( { useAcdc, isFastlane, isPayLater, storeCountry } ) => {
|
2024-11-26 15:01:21 +04:00
|
|
|
return (
|
|
|
|
<div className="ppcp-r-welcome-docs">
|
|
|
|
<h2 className="ppcp-r-welcome-docs__title">
|
|
|
|
{ __(
|
|
|
|
`Want to know more about PayPal Payments?`,
|
|
|
|
'woocommerce-paypal-payments'
|
|
|
|
) }
|
|
|
|
</h2>
|
|
|
|
{ useAcdc ? (
|
|
|
|
<AcdcFlow
|
|
|
|
isFastlane={ isFastlane }
|
|
|
|
isPayLater={ isPayLater }
|
|
|
|
storeCountry={ storeCountry }
|
|
|
|
/>
|
|
|
|
) : (
|
|
|
|
<BcdcFlow
|
|
|
|
isPayLater={ isPayLater }
|
|
|
|
storeCountry={ storeCountry }
|
|
|
|
/>
|
|
|
|
) }
|
2024-12-12 17:48:09 +01:00
|
|
|
<PricingDescription />
|
2024-11-26 15:01:21 +04:00
|
|
|
</div>
|
|
|
|
);
|
2024-11-12 19:23:30 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
export default WelcomeDocs;
|