Corregido Billing

Stripe test teams: a recent plan payment keeps a team in its mode

A team that paid for a plan in the last three days can no longer be switched to or from Stripe test mode before Magpie records the payment. Test-mode webhook deliveries are refused while the server's test key is not usable.

  • A team whose plan Checkout page was paid in the last three days now stays in its Stripe mode, so a real payment whose webhook is late is still recorded and gives the team its plan.
  • While STRIPE_TEST_SECRET_KEY is empty or holds a live key, Magpie no longer accepts webhook deliveries signed with the test webhook secrets, so test objects can never change a live team's plan.