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

davidxd33's avatar

Using Laravel Cashier for non-subscription packages.

I'll admit, Laravel Cashier pulled me in for interacting with the Stripe API for my store however I didn't like that LC binded a subscription to a user. I'm not looking to use all features cashier offers however I really don't know how to go about building the structure for a store without subscriptions.

Here's what I would like:

  • Using cashier to store costumers locally from Stripe
  • Using cashier to add/remove/edit packages to Stripe.

If I'm correct, LC was designed for subscriptions while I would like to use it for flat-rate purchases.

So far my schema includes a nullable, unique customer id for users. I would like to use this to access the user via Stripe. Am I on the right path?

I was also thinking of a purchases table mapping customer_id to a package_id from Stripe to store them locally.

0 likes
1 reply
davidxd33's avatar

An example I can give is the way Laracasts gives the option to purchase single videos. According to the FAQ, Laracasts uses Laravel Cashier which I'm guessing was edited for this purpose.

Please or to participate in this conversation.