Skip to content

Commit

Permalink
stripeCustomerEmail → stripeCustomerId
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Jan 25, 2025
1 parent d4f031f commit e25430d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export async function checkoutSessionCompleted(event: Stripe.Event) {
const payload = {
name: stripeCustomerName,
email: stripeCustomerEmail,
externalId: stripeCustomerEmail, // using Stripe customer email as externalId
externalId: stripeCustomerId, // using Stripe customer ID as externalId
projectId: workspace.id,
projectConnectId: stripeAccountId,
stripeCustomerId,
Expand Down

0 comments on commit e25430d

Please sign in to comment.