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

theUnforgiven's avatar

Unable to pass 'description' using Cashier

Hi all,

Anyone found a work around or even the correct way to add an item description when using Cashier's single charge?

I currently have, which all passes to Stripe correctly but not the description.

$charged = $user->charge($totalPrice, [
            'source' => $token,
            'receipt_email' => $user->email,
            'description' => $request->input('description'),
            'metadata' => [
                'email' => $user->email,
                'name'  => $user->first_name .' ' . $user->surname,
            ]
        ]);
        return $this->checkChargable($charged);
0 likes
1 reply
theUnforgiven's avatar
theUnforgiven
OP
Best Answer
Level 51

My bad, the request wasn't been passed when I though it was, so all works now.

Please or to participate in this conversation.