#maxime - checkout
1 messages · Page 1 of 1 (latest)
Can you explain the flow you're trying to achieve here? I'm not sure I understand your goal.
Do you mean you're trying to create automated tests?
Yes, I want to create an automated tests where there is no one to click on the "Pay" button.
Gotcha, so for this you'd want to use the Stripe CLI to simulate those sequences
in particular, you can run stripe trigger checkout.session.completed and an entire sequence of fake events will be generated as if a customer paid that way
Wow, that's awesome! So we have to call a command line executable to do this? There is no API? APIs are sometimes easier to integrate than CLIs...