stopped trying to parse receipt email strings because it's such a mess. i started dumping the original order_id directly into the stripe metadata during the refund call so we can actually track which campaign drove the loss.
refund = stripe.Refund.create(payment_intent='pi_123',metadata={'original_order_id': 'ord_987','campaign_source': 'retargeting_fb'})>it's a messit's a total nightmaredoes anyone else use metadata for this or are you still manually reconciling spreadsheets?