Charge a paid plan once, not twice
Example input: an order for $49.00, expressed as amount 4900 with currency usd, plus an idempotency key the run generates and keeps.
Expected result: exactly one PaymentIntent for the order. When the first request times out after Stripe received it, the retry with the same key returns the saved response instead of creating a second payment.
Check: the key is pruned after 24 hours, so a retry much later can create a new object; the run searches for the order’s existing PaymentIntent first. Reusing the key with a different amount is an error, not a retry, which catches a run that regenerated its inputs.

