This commit is contained in:
Kenneth Jannette
2024-01-19 18:20:10 -06:00
parent 86fef9c5a0
commit 7de8768176

View File

@@ -41,9 +41,9 @@ const SignupPage = () => {
}; };
const handleChangePaymentInput = (e, name) => { const handleChangePaymentInput = (e, name) => {
const newData = handleFormDataChange(e, name, data, paymentfields); const newPaymentData = handleFormDataChange(e, name, data, paymentfields);
if (newData !== null) { if (newPaymentData !== null) {
setPaymentData(newData); setPaymentData(newPaymentData);
} }
}; };
@@ -117,9 +117,9 @@ const SignupPage = () => {
}; };
async function handleStripeAuthorization(paymentDataValues) { async function handleStripeAuthorization(paymentDataValues) {
//Do calls to Stripe API // Do: calls to Stripe API
// if success, return some truthy value or // if success, return some truthy value or
// handleFailure() // handle failure
} }
const handleSignUp = async (e) => { const handleSignUp = async (e) => {