Level 6
I missed https://laravel.com/docs/9.x/billing#handling-failed-payments in the docs. It looks like exactly what I need.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
I'm using Laravel Cashier and the swapAndInvoice method to switch users between prices as follows.
$request->user()->subscription('default')->swapAndInvoice($request->plan);
I'm struggling to understand the SCA flow however.
I am catching the IncompletePayment exception and redirecting the user to the cashier.payment route but if the payment is abandoned I'm stuck in limbo with an incomplete payment.
If the user returns later how do I go about redirecting the user back into the payment flow?
Thanks
Please or to participate in this conversation.