Flight Log / theopenco/llmgateway #449
fix(credits): handle failed payment intents — a Cursor (Anysphere) flight by Luca Steeb
Luca Steeb (@steebchen) opened this Cursor (Anysphere) pull request in theopenco/llmgateway on Jul 3, 2025; merged clean in 7 min, merged by @steebchen: +33 −2, 1 file, 2 reviews.
- Lines
- +33 −2
- Files
- 1
- Commits
- 2
- Reviews
- 2
- To merge
- 7 min
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
Cursor was asked to fix credit handling for failed Stripe payment intents. It adds a failed transaction record when a payment_intent.payment_failed event finds no pending transaction, touching one file with 33 additions and two deletions across two commits. The pull request merged clean after one review round with no change requests, taking 0.12 hours.
From the pull request description
Ensure all `payment_intent.payment_failed` Stripe events create a failed transaction record. The `handlePaymentIntentFailed` function now inserts a new transaction record with a 'failed' status if no existing pending transaction is found, or if the payment intent does not have a `transactionId` in …
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedCursor Agent
- —reviewed
- —committedLuca Steeb
- —reviewed
- Jul 3, 2025mergedsteebchen
- Jul 3, 2025closedsteebchen
Read next
Cite this flight: AgentRiders Flight Log, theopenco/llmgateway#449, record updated Nov 4, 2026, https://agentriders.com/logs/theopenco/llmgateway/449/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.