Readiness Checklist Track your integration progress. Check off each item as you complete it. Your progress is saved in your browser. Integration ProgressYour progress is saved locally in your browser0/140% completeSetup0/3Stripe account connected to SumoComplete the Stripe Connect OAuth flow via Partner PortalWebhook endpoint configured in StripeAdd your webhook URL in Stripe Dashboard > Developers > WebhooksEnvironment variables configuredSTRIPE_SECRET_KEY and STRIPE_WEBHOOK_SECRET are setImplementation0/8Webhook signature verificationVerify stripe-signature header before processing eventsHandle checkout.session.completedProcess the main webhook event for successful purchasesDetect Sumo purchases via campaign_idCheck for campaign_id in session.metadataUser creation/lookup logicFind or create user accounts by email addressSubscription linkingAssociate Stripe subscription with user recordAccess provisioningGrant features based on product_tier_id and quantityIdempotency handlingSafely handle duplicate webhook deliveriesError handling and loggingLog events and return appropriate HTTP status codesTesting0/3Local testing with Stripe CLIUse stripe listen --forward-to for local developmentTest purchase completedComplete an end-to-end test purchase flowWelcome email sentVerify new users receive onboarding emailReset checklist Need Help? Code Examples Reference implementations Best Practices Edge cases & testing AI Assistant Prompt For Claude Code, Cursor