This commit is contained in:
Kenneth Jannette
2024-02-23 23:15:05 -06:00
parent c01c61fb2d
commit 840c168ec3
2 changed files with 19 additions and 21 deletions

View File

@@ -424,7 +424,7 @@ const SignupPage = () => {
paymentDataValues,
dataValues
);
console.log("9====> ~ ~ ~ ~ data", data);
console.log("data returned from handleStipeAuth", data);
const customerId = data?.data?.customerId;
const subscriptionCreated = data?.data?.subscriptionCreated;
const subscriptionPeriodStart = data?.data?.subscriptionPeriodStart;
@@ -455,12 +455,11 @@ const SignupPage = () => {
subscriptionId,
isPromotionalMebership
);
setIsBusy(false);
navigate("/dashboard");
}
} catch (error) {
console.log("Error handling request", error, error.message);
console.log("Error handling request", error);
setIsBusy(false);
setNotice("Sorry, something went wrong. Please try again.");
}