#dudu_1233
1 messages · Page 1 of 1 (latest)
Hi there!
Checkout Session are not meant to be automatically tested.
Like you shjouldn't use software to automatically try to fill the form.
Using Stripe CLI with checkout.session.completed fixture - It automates a full payment but it also creates the checkout session, I need to the checkout session to be created by my backend
Yes that's a good option. And you can override some parameteres if needed https://stripe.com/docs/cli/trigger#trigger-override
Using Stripe CLI with custom fixutures - Copying the checkout.session.completed fixture and overriding the session:id I was able to automate the purchase - but it is suboptimal solution
Yes that would be my suggestion.