We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abb546c commit 5f894c0Copy full SHA for 5f894c0
template/app/src/payment/stripe/checkoutUtils.ts
@@ -15,12 +15,10 @@ export async function ensureStripeCustomer(
15
});
16
17
if (stripeCustomers.data.length === 0) {
18
- console.log("Creating a new Stripe customer");
19
return stripeClient.customers.create({
20
email: userEmail,
21
22
} else {
23
- console.log("Using an existing Stripe customer");
24
return stripeCustomers.data[0];
25
}
26
0 commit comments