more
This commit is contained in:
@@ -189,8 +189,8 @@ const SignupPage = () => {
|
||||
barNumber,
|
||||
practiceArea,
|
||||
email,
|
||||
subscriptionId,
|
||||
customerId,
|
||||
//subscriptionId,
|
||||
//customerId,
|
||||
};
|
||||
|
||||
try {
|
||||
@@ -217,14 +217,14 @@ const SignupPage = () => {
|
||||
if (isBusy) {
|
||||
return;
|
||||
}
|
||||
/*
|
||||
|
||||
const dataValues = validateUserData();
|
||||
if (dataValues === null) {
|
||||
return;
|
||||
}
|
||||
|
||||
saveLeadData(dataValues);
|
||||
*/
|
||||
|
||||
setShowSelectPlan(!showSelectPlan);
|
||||
};
|
||||
|
||||
@@ -309,10 +309,10 @@ const SignupPage = () => {
|
||||
}
|
||||
// ******************** END STRIPE PAY API CALL ******************** //
|
||||
|
||||
const handleSignup = async () => {
|
||||
if (isBusy) {
|
||||
return;
|
||||
}
|
||||
const handleSignup = async (e) => {
|
||||
e.preventDefault();
|
||||
console.log("handleSignup");
|
||||
|
||||
const paymentDataValues = validatePaymentData();
|
||||
if (paymentDataValues === null) {
|
||||
return;
|
||||
@@ -323,10 +323,9 @@ const SignupPage = () => {
|
||||
return;
|
||||
}
|
||||
|
||||
const planType = determinePlan(isAnnual, activeRadioOption);
|
||||
|
||||
//const planType = determinePlan(isAnnual, activeRadioOption);
|
||||
setIsBusy(true);
|
||||
if (paymentDataValues && dataValues) {
|
||||
setIsBusy(true);
|
||||
try {
|
||||
const userCredential = await createUserWithEmailAndPassword(
|
||||
auth,
|
||||
@@ -342,7 +341,7 @@ const SignupPage = () => {
|
||||
dataValues
|
||||
);
|
||||
console.log(
|
||||
"----------------------------->>>>paymentResponse",
|
||||
"----------------------------->>>>>>>>>>>>>>>>>paymentResponse",
|
||||
paymentResponse
|
||||
);
|
||||
if (paymentResponse === false) {
|
||||
|
||||
Reference in New Issue
Block a user