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

christian_H's avatar

Does Spark handle cards being declined in stripe?

Hello everyone, does Spark have any built in way to handle a payment being declined in Stripe (or whatever billing provider you're using)? I can't find anything in the Spark docs but I thought I'd ask before writing the code for it myself, as it seems like something that would be included. From looking at the Stripe documentation, it looks like a subscription gets cancelled if Stripe can't process the payment. I'm just not sure if I need to manually check with stripe after each monthly payment should be processed to make sure it went through, or if Spark handles that already. Thanks!

0 likes
3 replies
fwartner's avatar

Spark has the webhook already pulled into your routes so you don´t need to do it manually. :)

1 like

Please or to participate in this conversation.