Level 18
To test the full list there: you can use a Stripe testing account for the Stripe end. As for testing the user-aspect, use Laravel Dusk!
Check out these links:
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello, I have implemented Stripe's Cashier on my application to perform one-time payments, following the official documentation. When making one-time payments/charges, the process is the following (official documentation):
(new User)->charge($token, 100) to charge the customer using a token.Now, here's the issue - How am I supposed to feature test this, as I am required to retrieve a token from the frontend in order to proceed with the charge?
Please or to participate in this conversation.