diff --git a/GrossesMitaines/grosses-mitaines-ui/src/components/PaymentForm.js b/GrossesMitaines/grosses-mitaines-ui/src/components/PaymentForm.js index 072ee4f..d339d67 100644 --- a/GrossesMitaines/grosses-mitaines-ui/src/components/PaymentForm.js +++ b/GrossesMitaines/grosses-mitaines-ui/src/components/PaymentForm.js @@ -27,6 +27,7 @@ const CARD_OPTIONS = { const PaymentForm = ({ cost }) => { const [success, setSuccess] = useState(false); + const [cardName, setCardName] = useState(""); const stripe = useStripe(); const elements = useElements(); @@ -82,6 +83,7 @@ const PaymentForm = ({ cost }) => { {!success ?