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

waleedviews's avatar

Laravel cashier stripe checkout

I am using laravel cashier stripe checkout, when i checkout via stripe checkout the subscription information doesn't store in the database, also the card information etc doesn't store as well Any help would be appreciated.

Route::get('/subscription-checkout', function (Request $request) {
    return $request->user()
        ->newSubscription('default', 'price_1MOiY9GBXoaOjdWmFpnd3hD1')
        ->checkout([
            'success_url' => route('patient.dashboard'),
            'cancel_url' => route('subscriptions.plans'),
        ]);
});
0 likes
3 replies

Please or to participate in this conversation.