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

joserick's avatar

Cashier (stripe) Subscription without payment method

Hi,

Is it possible to create a subscription without a payment method?

$request->user()->newSubscription(
     'default', 'monthly_id'
)->create($paymentMethodId = null);

Updated:

Solved, you have to give it a trial period so that it ignores the fact that the payment method does not exist:

$request->user()
    ->newSubscription( 'default', $monthly_id)
    ->trialDays(30)
    ->create();
0 likes
1 reply
Joedev's avatar

Thank you for sharing the solution, saved me headache. Cheers!

Please or to participate in this conversation.