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

beertastic's avatar

Managing subscriptions in cashier, payment optional?

So I want to use Cashier to handle my online payments, manage subscriptions, etc. What I want to do is to extend it to allow free, or pre-paid subscriptions.

let's say Dave down the pub gives me £20 for a subscription. I then go manually add him to cashier subscription data flow but ignore the stripe process. So I can then list all subscribers, and if there's no Stripe ID, then I know they paid in cash.

Further, I'd love to give out voucher codes for free access, but again, store subscription data in Cashier.

This is just to have a single point of reference of site subscribers, and not 'care' how they got there.

is Cashier a good fit for this? or are there better subscription management modules for Laravel? I don't want to re-invent the wheel... yet :)

0 likes
4 replies
lat4732's avatar

You can just add the customer and subscribe him from the stripe dashboard

beertastic's avatar

@Laralex Can I do that via Cashier Api to Stripe? Or are you saying I'd have to do it manually on the stripe website?

lat4732's avatar

@beertastic Yes, you can do it via Stripe API https://stripe.com/docs/api/customers/create?lang=php

If you do it via Stripe's Dashboard you must listen for webhooks. Cashier automatically listen for some of them but I'm not sure if user creation is included. You must setup your business logic when the webhook is received. Check app\Listeners\StripeEventListener.php

1 like

Please or to participate in this conversation.