import { __ } from '@wordpress/i18n' import { Stripe } from '../../PaymentHandler/payments/Stripe/Stripe' import { StripeWrapper } from '../../PaymentHandler/payments/Stripe/StripeWrapper' import { StripeBillingFields } from '../../PaymentHandler/payments/Stripe/StripeBillingFields' import type { IPaymentStepStripeSectionProps } from '../../types' export const PaymentStepStripeSection = ({ clientSecret, selectedMethod, onLoadingChange, stripeWrapperRef, formData, setFormData, stripeFields, chargeAgreement, }: IPaymentStepStripeSectionProps) => { return (
{chargeAgreement.message || __( 'By confirming, you authorize us to save your card and charge the amount shown according to the stated timing. Your booking will not be marked as paid until the charge succeeds.', 'webba-booking-lite' )}
)}