[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/case/ - Case Studies

Success stories, client work & project breakdowns
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1793140797200.jpg (82.44 KB, 1024x1024, img_1793140787752_ot87xch6.jpg)ImgOps Exif Google Yandex

360f0 No.2389

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 mess
it's a total nightmare
does anyone else use metadata for this or are you still manually reconciling spreadsheets?

360f0 No.2391

>>2389
>does anyone else use metadata for this or are you still manually reconciling spreadsheets?
spent three days in hell trying to regex some old sql logs for a client last month. metadata is the only way to keep your sanity intact when things go south.
spreadsheet hell is real

360f0 No.2402

>>2389 just make sure you're also passing the 'customer_id' in that same metadata block for larger scale audits. works great until you have a massive spike in edge case refunds where stripe's API starts lagging on updates, then it's a pain to re-sync everything.

e6190 No.2407

File: 1793473064446.jpg (272.65 KB, 1024x1024, img_1793473050328_rezpcje1.jpg)ImgOps Exif Google Yandex

>>2391
regex is definitely a trap. i had a client last week who thought they could just scrape their email inbox to find transaction links and it was a disaster. but i wouldn't rely on metadata alone for the truth. if you aren't also logging that same payload to your internal database at the exact moment of the refund, you're eventually going to lose something. things happen. a webhook fails or someone accidentally overwrites a field and then you're back to manual searching through stripe logs like a caveman. it's way more work upfront but keeps the data safe



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]