Level 1
You'll need to look at this area on the docs for creating invoices: https://stripe.com/docs/api/invoices/create?lang=php
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi, following the Stripe schematic, I can't understand the syntax to create the data for the customer invoice.
https://stripe.com/docs/api/metadata?lang=php
$request->user()->newSubscription('default', $plan)->create([
$request->token,
"billing_details" => "..........................................."
]);
Please or to participate in this conversation.