Objective: Migrate our checkout pipeline from the deprecated Stripe API v2 to the new v3 SDK (stripe-node 14.x). This unlocks PaymentIntents, SetupIntents, and automatic currency conversion.
Scope:
stripe.charges.create() with stripe.paymentIntents.create() across all service endpointsstripe-signature header (v3 format)Subscription object shapeAcceptance Criteria: All unit and integration tests pass. Zero failed charge events in Stripe dashboard test-mode for 48 hrs. PR reviewed by at least 2 engineers.
stripe.charges.create calls with stripe.paymentIntents.create
/v1/charges is also called from invoice-service and wallet-service. Adding those to the checklist scope. @Alex can you double-check the webhook handler in payment-gateway-service/src/webhooks/stripe.js? The signature validation logic may need updating too.