import { useAppSelector } from '@akinon/next/redux/hooks'; import { RootState } from '@theme/redux/store'; import { useSetInstallmentOptionMutation } from '@akinon/next/data/client/checkout'; import { Radio, Price } from '@theme/components'; import { useLocalization } from '@akinon/next/hooks'; const CreditCardInstallments = ({ error }) => { const { t } = useLocalization(); const { preOrder, cardType, installmentOptions } = useAppSelector( (state: RootState) => state.checkout ); const [setInstallmentOption] = useSetInstallmentOptionMutation(); const errorMessage = (
| {t('checkout.payment.installment_options.payments')} | {t('checkout.payment.installment_options.per_month')} | {t('checkout.payment.installment_options.total')} |
|---|---|---|
|
|
|
|