#Devik
1 messages · Page 1 of 1 (latest)
You'll need to mock api responses from Stripe. We don't support/encourage automated tests directly against our api. Instead, we recommend folks mock the responses
I'm really confused now. You have a whole site about testing against Your API, what parameters to pass to get specific response and test api keys.
Can you link the page you're on?
AFAIK we don't provide an automated way to test CheckoutSession flows
Yeah that's for running your integration in test mode
And manually testing flows
Not automated testing
Then I guess You need to have a chat with folks at Laravel about their recommendation:
https://laravel.com/docs/10.x/billing#testing
Oh
I'll flag this to someone thanks
That's a third party integration, so they're not affiliated with us
I reckon. Still, no info on Your site made me think that's for manual testing.
As I am looking specifically for it not there's a recommendation to use mocks, but for load testing.
https://stripe.com/docs/testing is for manual testing
"As an alternative, we recommend building integrations so that they have a configurable system for mocking out requests to the Stripe API, which can be enabled for load tests."
Follows from this statement, that aside from load testing, the recommendation is not to mock.
So You should make this a way more clear.
This is good feedback
Thanks
But yeah the issue with automated testing is it can contribute to rate limits, so generally we do discourage it
Well, I'll see what I can do. Seems I have to resolve to mocking for Session Checkouts anyway.
Thanks for Your help!
Yeah the issue with Checkout is it does require a lot of manual intervention