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

lat4732's avatar
Level 12

How to test Laravel Cashier Stripe subscriptions in test mode properly

Hey!

I've almost finished my app, the next thing I need to do is to actually test the subscriptions. Till now I've tested them by creating a new invoice to the existing stripe user and this way I simulate a new unpaid invoice. But I'm pretty sure that's not the right way to do this. Do you guys have any ideas how to test these subscriptions? Something like changing the subscription renewal date to today so I can see what is happening when the renewal day occur? I have no idea how to properly test it. Please, don't share with me Stripe's official documentation articles as they are not well explained and BTW there is nothing like "Testing Stripe Subscriptions in Test Mode" there.

0 likes
1 reply

Please or to participate in this conversation.