This commit is contained in:
Kenneth Jannette
2024-01-19 15:56:08 -06:00
parent 0f8a7cd61e
commit b80732725f
4 changed files with 52 additions and 37 deletions

View File

@@ -110,7 +110,9 @@ const SignupPage = () => {
async function handleStripePaymentAuthorization(paymentDataValues) {
console.log(paymentDataValues);
// Stripe API calls, etc
}
const handleSignup = async (e) => {
e.preventDefault();
const paymentDataValues = validatePaymentData();
@@ -145,12 +147,13 @@ const SignupPage = () => {
*/
};
const handleProceedToPayent = () => {
const handleProceedToPayment = () => {
/*
const dataValues = validateData();
if (dataValues === null) {
return;
}
*/
setShowPaymentModal(true);
};
@@ -266,7 +269,7 @@ const SignupPage = () => {
className="primary-button signup-proceed-button"
type="button"
size="lg"
onClick={handleProceedToPayent}
onClick={handleProceedToPayment}
disabled={isBusy}
labelText="Proceed to Payment"
/>