Level 11
Bump
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi guys,
Im trying to add some metadata to my cashier subscriptions, the subscription is successful however nothing is added to the Stripe customer object, what am I doing wrong here?
$user->newSubscription('main', $chosenPlan)->create($creditCardToken, [
'metadata' => [
'id' => $user->id,
'email' => $user->email,
'name' => $user->name
]
]);
Please or to participate in this conversation.