more
This commit is contained in:
@@ -30,7 +30,7 @@ import PaymentModal from "../Modals/PaymentModal";
|
||||
import Radio from "../../pageElements/Radio";
|
||||
import "../../styles/signup.scss";
|
||||
import Stripe from "stripe";
|
||||
import { stripeApiKey } from "../../secrets";
|
||||
import { stripeApiKey, marchEmailPrm } from "../../secrets";
|
||||
|
||||
const SignupPage = () => {
|
||||
const { isUpgrade, currentPlan } = useParams();
|
||||
@@ -43,12 +43,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 [isAnnual, setIsAnnual] = useState(1);
|
||||
@@ -347,6 +347,7 @@ const SignupPage = () => {
|
||||
setShowPaymentModal(false);
|
||||
window.scrollTo({ top: 0, behavior: "smooth" });
|
||||
setIsBusy(true);
|
||||
|
||||
try {
|
||||
const data = await handleStripeAuthorization(
|
||||
paymentDataValues,
|
||||
|
||||
Reference in New Issue
Block a user