Skip to main content

benecaster_donation_received

Action Free Since v1.0.0

Fires on payment_intent.succeeded after the donation has been recorded in the database and the thank-you email has been queued. The donation is already committed when this fires — do not use it to conditionally prevent recording.

Parameters

Name Type Default Description
$show_id int ID of the show
$amount float Donation amount in major units (e.g. 10.00)
$currency string ISO 4217 currency code, lowercase (e.g. 'usd')
$payment_data array Full Stripe PaymentIntent object
$donation_id int ID of the inserted row in benecaster_listener_support_donations