more
This commit is contained in:
@@ -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."
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user