updateCard needs a stripe token. The same kind of token that you use to store the initial card details.
$user->updateCard($request->stripeToken);
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have allows users to subscribe to my application. But if the users card details change they will need to update them both on stripes end and on my database too.
How can i do this in Laravel, i have seen people using a updateCard() method on stack overflow questions but i cannot find the method on documentation.
Can anyone point me in the right direction please?
Please or to participate in this conversation.