Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

rfountain's avatar

Email Events when Payments Are Processed

I'm looking through all the events that are fired when certain actions happen in Spark but I'm not seeing anything that's fired when a payment is processed for a subscription or one-time charge.

Is there currently a way to send an email to a user when they pay attaching their invoice and confirming their payment?

0 likes
3 replies
ejdelmonico's avatar

I would like to see how you handle the Spark events. I am looking at it right now. I hope to send out a welcome email after subscribing.

ejdelmonico's avatar

I ended up using a listener to a Spark event listed in the docs along with a notification email. It worked pretty well. It just took a while to get it to work without throwing a bunch of 500 errors.

Please or to participate in this conversation.