This commit is contained in:
Kenneth Jannette
2024-01-31 20:31:03 -06:00
parent 56ee3c2d65
commit b7625d6c95
9 changed files with 11 additions and 17 deletions

View File

@@ -287,7 +287,6 @@ const SignupPage = () => {
const data = await response.json();
console.log("data in stripe auth call -------------++++++++++++++", data);
//subscriptionId = response.subscriptionId;
//customerId = response.customerId;
@@ -303,7 +302,6 @@ const SignupPage = () => {
const handleSignup = async (e) => {
e.preventDefault();
console.log("handleSignup");
const paymentDataValues = validatePaymentData();
if (paymentDataValues === null) {
@@ -323,7 +321,7 @@ const SignupPage = () => {
paymentDataValues,
dataValues
);
console.log("----------------------------->>>>>>>>>>>>>>>>>data", data);
const customerId = data.data.customerId;
const subscriptionId = data.data.subscriptionId;
@@ -350,7 +348,7 @@ const SignupPage = () => {
}
} catch (error) {
setIsBusy(false);
console.log("-------->error", error);
setNotice(
error.message || "Sorry, something went wrong. Please try again."
);