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

Iordanis's avatar

Stripe Change Plan with failed Payment

Cashier - Stripe Assume having a Plan 10/month(A) and 100/year(B). User creates new Subscription with A. He swap to plan B.

He have to pay 90, he goes in that payment form https://prnt.sc/q8ondc and "Go back". Generally the Payment fails for any reason.

The subscription status is attached to plan B with status "past_due".

Is there any way to prevent that Subscription's change if the payment don't Succeed ?

I want the Subscription with the existing Plan if Payment failed for the requested one.

Additionally, if he re-swap to plan A. He balanced with 80.

He can use that 80, for example to create a new Subscription.

How can i handle that scenarios ?

" Its first time that i post here in Laracast, should i provide code ?"

Thanks,

0 likes
0 replies

Please or to participate in this conversation.