SShortSingh.
Back to feed

How one company silently migrated 20,000+ customers across Stripe accounts

0
·1 views

A software company successfully migrated over 20,000 US customers from its Australian Stripe account to a new US-based one last month, with no service disruptions or customer-facing changes. The migration covered payment methods, subscriptions, credits, coupons, and promotional codes across both a tutoring product and a schools product. Engineers built custom Go scripts with dry-run modes to safely transfer data, carefully reconciling coupon and promo code usage limits that had been stored inconsistently. One of the trickier challenges involved in-flight invoices, which were left on the old account for a 48-hour window to allow natural retries and customer payments to settle before being voided and recreated on the new account. No customers were double-charged, lost access, or received any notification, as the transition was entirely invisible from their end.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

tropes.fyi Helps Eliminate Clichéd AI Writing Patterns via One Markdown File

Developer Ossama Chaib created tropes.fyi, a single markdown file that catalogs and calls out recurring AI writing clichés such as overuse of the word 'delve', em dash abuse, and hollow buzzword phrases. Users can paste the file directly into their system prompt to discourage language models from producing these patterns. The author tested it by adding the file to a CLAUDE.md configuration and reported a noticeable reduction in the most common offenders. The project is actively maintained, with new tropes added as the community identifies them in AI-generated content. It is available both as a standalone markdown file and as a GitHub Gist for easy integration.

0
ProgrammingDEV Community ·

x402 Payment Protocol Lacks Adversarial Security Standards, Experts Warn

On April 2, the x402 payment protocol moved from Coinbase to the Linux Foundation, backed by major firms including Cloudflare, Stripe, Google, Visa, and Mastercard. The protocol is designed as a universal payment layer for AI agents, APIs, and applications transacting over HTTP, often compared to SSL for web commerce. While x402 has a published specification, reference SDKs, and implementation tests, it currently lacks a normative adversarial test suite that all clients, servers, and facilitators must pass. This gap raises concerns about attack scenarios such as payload replay, amount tampering, and inconsistent verification outcomes across independent implementations. Experts argue that for x402 to earn genuine trust, it must define not just how the handshake works but also the hostile conditions every implementation is required to survive.

0
ProgrammingDEV Community ·

Developer drops Spatie team mode for multi-tenancy due to silent data corruption risk

A developer building a Multi-Tenant Starter project initially adopted Spatie's built-in team mode from the laravel-permission package to scope user roles per tenant. The approach requires a team_id column as part of a composite primary key in the model_has_roles table, meaning every role assignment must have a non-null team_id. Because users in the project can be assigned application roles before joining any team, the required default value of 1 caused role assignments to silently attach to whichever team holds ID 1, without throwing any error. This silent data corruption — where a user gains permissions in a team they never joined — was deemed more dangerous than an outright failure. The developer ultimately abandoned Spatie's team mode entirely rather than patch around the constraint or restructure the primary key.

0
ProgrammingDEV Community ·

mcporter CLI lets AI agents call MCP tools without bloating the context window

Developer Nico Bailey has released mcporter, a command-line tool that allows AI agents to call Model Context Protocol (MCP) server tools directly via bash commands. The problem it addresses is that connecting MCP servers to an AI agent loads their full tool schemas into the context window — Playwright MCP alone consumes around 15,000 tokens before any task begins. mcporter routes tool calls to MCP servers and returns results as standard output, keeping those schema definitions entirely out of the context window. The tool also supports listing available tools and generating TypeScript type definitions from any MCP server. It is available via npm and is intended as a drop-in alternative to wiring MCP servers directly into an agent's client configuration.

How one company silently migrated 20,000+ customers across Stripe accounts · ShortSingh