diff --git a/apps/dsep/locales/en.ts b/apps/dsep/locales/en.ts index 0583be0dd..450759048 100644 --- a/apps/dsep/locales/en.ts +++ b/apps/dsep/locales/en.ts @@ -457,7 +457,8 @@ const en: { [key: string]: string } = { searchLearning: ' Search Learning', ScholarshipConfirmation: 'We will evaluate your application ID :', andRespond: 'and respond as soon as possible.', - unabletoTrack: 'Unable to get the track url' + unabletoTrack: 'Unable to get the track url', + cardNumber: '**** **** **** 1234' } export default en diff --git a/apps/dsep/pages/orderConfirmation.tsx b/apps/dsep/pages/orderConfirmation.tsx index 286a17208..73d75651e 100644 --- a/apps/dsep/pages/orderConfirmation.tsx +++ b/apps/dsep/pages/orderConfirmation.tsx @@ -51,7 +51,7 @@ const OrderConfirmation = () => { const axiosConfig = { headers: { Authorization: `Bearer ${bearerToken}`, - 'Content-Type': 'application/json' // You can set the content type as needed + 'Content-Type': 'application/json' } } axios diff --git a/apps/dsep/pages/paymentMode.tsx b/apps/dsep/pages/paymentMode.tsx index b215c47c5..04f23a06f 100644 --- a/apps/dsep/pages/paymentMode.tsx +++ b/apps/dsep/pages/paymentMode.tsx @@ -1,79 +1,53 @@ import React, { useState } from 'react' -import { Box, Flex, Text, Image, Card, CardBody } from '@chakra-ui/react' import { useRouter } from 'next/router' import { useDispatch } from 'react-redux' -import Button from '../components/button/Button' -import CardWithCheckBox from '../components/card/Card' import { useLanguage } from '../hooks/useLanguage' -import creditCardImg from '../public/images/creditCardImg.svg' import { cartActions } from '../store/cart-slice' +import { PaymentMethodSelection } from '@beckn-ui/common' +import { testIds } from '@shared/dataTestIds' +import Visa from '@public/images/visa.svg' +import masterCard from '@public/images/masterCard.svg' function PaymentMode() { - const [checked, setChecked] = useState(false) - const { t } = useLanguage() const router = useRouter() const dispatch = useDispatch() return ( <> - - {/* */} - - - {t.cards} - - {t.addCard} - - - - - {/* eslint-disable-next-line jsx-a11y/alt-text */} - - - - - - Other - - - - -