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

AndyMillne's avatar

Laravel Cashier abandoned SCA

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

0 likes
1 reply

Please or to participate in this conversation.