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

jcf's avatar
Level 1

Laracogs billing, does anyone have it working?

Following the instructions exactly leads me to get this error in test mode from stripe: ErrorException in BillingController.php line 44: Undefined index: stripeToken In the stipre dashboard I can see my secret key update in the logs, but the publishable key never updates (I assume never gets passed). I see many others with this error, but no resolutions.

Does anyone have laracogs billing working with stripe? Any ideas?

Thanks!

0 likes
2 replies
thomasm789's avatar

I had the same issue. After days of debugging I arrowed it down to something missing in the javascript. Narrowed it down to being the environment var "SUBSCRIPTION" - this needs to equal an action plan that you have set up for this to work.

jcf's avatar
Level 1

thomasm789, thanks for the reply. Hopefully this helps someone in the future. I ended up going to spark.

Please or to participate in this conversation.