fix(api): use payment order id for Stripe checkout product events

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Lulu
2026-08-19 22:16:49 +08:00
parent 75b5c8467e
commit 4bf1fe09ea
@@ -74,7 +74,7 @@ export function createCheckoutOperation(deps: CheckoutOperationDeps) {
feature: 'billing',
action: 'checkout_started',
status: 'succeeded',
eventId: session.id,
eventId: result.paymentOrderId,
source: 'stripe.checkout',
metadata: {
pack_key: resolvedPackKey,