Closed Can't approve transactions held for review on Stripe payment gateway

relative

Member
Licensed customer
Affected version
2.3.4
When stripe sends the review.closed event for an approved review to XenForo it causing error "Event data received from Stripe does not contain the expected values"

It looks like the review.closed event is missing the "metadata" object and the provider_metadata on the PurchaseRequest is null so it can't find it based on charge/payment_intent.

1736959088281.webp
 
This appears to be true. There doesn't actually seem to be anything here that's identifiable back to the original charge, making the webhook effectively useless. That seems more like a Stripe issue. (Maybe the payment_intent can be useful here).

But is there not a charge.succeeded event that follows it? Can you confirm if the purchase eventually goes through as expected?
 
It looks like Stripe only sent the charge.succeeded event before the review.closed event. The charge.succeeded event has outcome.type = manual_review. There isn't a charge.succeeded event following the review.closed event. The Stripe dashboard says the API version for my webhook is 2024-11-20.acacia if that matters.
 
Automated triage: Not a bug

Thank you for reporting this issue. This report is stale: Stripe webhook handling was reworked in 2.3.5. Payment intent and charge IDs are now stored against each purchase, so later review events can be matched to it. If approved reviews still fail on the current version, please open a new report with the payment provider log entries.

This is an automated assessment. A member of staff may review and update it.
 
Back
Top Bottom