This commit is contained in:
Kenneth Jannette
2024-02-23 17:09:43 -06:00
parent 1b4fce5ffc
commit e4d8cb66d1
4 changed files with 14 additions and 10 deletions

View File

@@ -45,12 +45,12 @@ const SignupPage = () => {
getFormDataDefaults(paymentfields)
);
const [showPaymentModal, setShowPaymentModal] = useState(false);
/*
const [showSelectPlan, setShowSelectPlan] = useState(
isUpgrade ? true : false
);
//const [showSelectPlan, setShowSelectPlan] = useState(true);
*/
const [showSelectPlan, setShowSelectPlan] = useState(true);
const [activeRadioOption, setActiveRadioOption] = useState("partner");
const [selectedPlan, setSelectedPlan] = useState([signupRadioFields[1]]);
const stripe = new Stripe(stripeApiKey);
@@ -400,7 +400,7 @@ const SignupPage = () => {
setShowPaymentModal(false);
window.scrollTo({ top: 0, behavior: "smooth" });
setIsBusy(true);
console.log("-------------------->paymentDataValues, dataValues");
try {
const data = await handleStripeAuthorization(
paymentDataValues,