• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

GEWIS / sudosos-backend / 30835673839
92%

Build:
DEFAULT BRANCH: develop
Ran 03 Aug 2026 05:18PM UTC
Jobs 1
Files 290
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Aug 2026 05:12PM UTC coverage: 92.266% (-0.002%) from 92.268%
30835673839

push

github

web-flow
fix: capture card-present terminal payments immediately (#1007)

The terminal branch of createStripePaymentIntent asked for
capture_method: 'automatic' at the top level, then overrode it with
payment_method_options.card_present.capture_method = 'manual_preferred'.
Card-present supports manual capture, so the override won and every
intent landed in requires_capture. Nothing in src/ ever calls
paymentIntents.capture, so the authorization sat on the card for 48
hours and then expired.

The webhook path broke too. Manual capture emits
payment_intent.amount_capturable_updated rather than
payment_intent.succeeded, and that event is neither subscribed to nor
handled, so the TerminalPayment stayed in PROCESSING and the frontend
polled forever. The only way out was a cancel, which released the hold
and looked to the customer like an instant refund.

Dropping the override lets card-present inherit the top-level automatic
capture. The tap captures right away and fires payment_intent.succeeded,
which StripeWebhookService already routes to
TerminalPaymentService.handleTerminalPaymentSuccess.

Fixes GEWIS/sudosos-backend#1005

4424 of 5034 branches covered (87.88%)

Branch coverage included in aggregate %.

22539 of 24189 relevant lines covered (93.18%)

826.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30835673839.1 03 Aug 2026 05:18PM UTC 290
92.27
GitHub Action Run
Source Files on build 30835673839
  • Tree
  • List 290
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30835673839
  • ceb3bdaf on github
  • Prev Build on develop (#30548521293)
  • Next Build on develop (#30837322343)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc