more
This commit is contained in:
@@ -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"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user