Level 6
I missed https://laravel.com/docs/9.x/billing#handling-failed-payments in the docs. It looks like exactly what I need.
Summer Sale! All accounts are 50% off this week.
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.