Urgent.News

What's breaking now, across thousands of outlets.

Tech

Stripe Connect refunds: the two flags that silently cost platforms

Problem When a Stripe Connect platform refunds a charge, the platform often assumes that the original transfer and the application fee are automatically undone. In practice, two boolean flags— refund_application_fee and reverse_transfer —control whether the fee and the transfer are reversed. Their defaults are non‑obvious ( false for both), so a refund can leave the platform with a net loss that…

When a Stripe Connect platform refunds a charge, it is crucial to understand that the refund process does not automatically reverse the original transfer and application fee. Two boolean flags—refund_application_fee and reverse_transfer—determine whether these monetary components are undone. By default, both flags are set to false, which can lead to unexpected financial outcomes for the platform.

As a result, refunds may only credit the customer, leaving the platform with a net loss that is not immediately evident in Stripe’s error logs. This discrepancy manifests only as a difference between the amount refunded to the customer and the actual amount returned to the platform’s balance, creating a silent loss.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Can You Type Named Slots in Astro? (Short Answer: Not Yet)

Someone asked me this in the Astro Discord recently, and I went looking for a real answer instead of guessing. Sharing it here because it's a question that comes up a lot, and the honest answer isn't…

  • Typed named slots not supported in Astro yet
  • Props typing only covers default slot
  • Runtime checks with Astro.slots.has() possible

16 Posts, Started Commenting, then got the Shield

I joined DEV in June and started doing what I have been avoiding for a long time. Now and then, I hit the publish button and closed the DEV window tab. Sixteen posts went out that way.

  • Author published 16 posts on DEV in June, but received minimal engagement.
  • Author changed strategy in July by commenting on others' posts, leading to increased visibility.
  • Received Trustee Member status after consistently participating in DEV community.

Your Supabase Storage bucket is public - signed URLs will not save you

Problem You are generating private B2B images with Sharp in a Next.js API route and storing the derivatives in Supabase Storage.

  • Supabase Storage buckets can be public, exposing sensitive images.
  • Turn off public flag to require authentication for access.
  • Use signed URLs with expiration to safeguard against unauthorized access.

More from Friday 28 August →