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

VizuaaLOG's avatar

Laravel Cashier - Same plan but not same 'product'

I'm currently doing some research on a product I'm looking to build. Laravel Cashier seems to be the best thing to use to make dealing with Stripe easier.

The one thing I'm struggling to find out is having the same plan but it's a different product. For example:

  • I have a plan that offers a server with 1GB RAM, the user enters a name of the server
  • The user 6 months later decides to create a new server with 1GB RAM (same Stripe plan) but with a different name

From what I can see Cashier supports increasing the quantity of a plan, but on the invoice I would want them to show as two separate lines, one for server-name-1 and one for server-name-2. Similar to how Digital Ocean shows the domain name for each Droplet you have with them.

Does anyone have any ideas on how this may be achieved? So far I've found that you can increase the quantity of the plan, but that seems more focused towards a user based plan where it's simply the more users you have the more you're charged. Whereas this is basically an entirely new plan, and I assume createSubscription wouldn't be able to create two subscriptions with the same name (guessing Stripe may 'blow up' as Jeffrey would say).

Really appreciate any support with this, and if I'm just being blind and this is mentioned in the docs please tell me :).

0 likes
1 reply
VizuaaLOG's avatar

Stripe's support suggests including this info in the memo section, which is something I thought of. But wondered if anyone else here has another method that may be Cashier uses with its own invoices, rather than using Stripe's invoices.

Please or to participate in this conversation.