Level 2
Thank you for sharing the solution, saved me headache. Cheers!
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
Is it possible to create a subscription without a payment method?
$request->user()->newSubscription(
'default', 'monthly_id'
)->create($paymentMethodId = null);
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();
Please or to participate in this conversation.