Admin · Internal
Cross-references Stripe paid sessions with database orders. Detects and repairs missing payouts, vendor mappings, and emails.
Pulling audit data from Stripe and database...
How This Works
This panel pulls the last 20 paid Stripe sessions and cross-references them with ShopOrder records in the database. "Repair Broken Orders" will re-process any Stripe-paid sessions where the ShopOrder is still pending or missing payout data. "Fix Vendor Mapping" fills in missing business_id/vendor_email on all ShopOrders by looking up from items. "Send Missing Emails" fires confirmation emails for paid orders where email_sent is false. All vendor stats in the Vendor Portal are powered by paid ShopOrder records filtered by business_id or business_name.