#Devik

1 messages · Page 1 of 1 (latest)

visual caveBOT
weak fjord
#

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

toxic juniper
#

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.

weak fjord
#

Can you link the page you're on?

#

AFAIK we don't provide an automated way to test CheckoutSession flows

toxic juniper
weak fjord
#

Yeah that's for running your integration in test mode

#

And manually testing flows

#

Not automated testing

toxic juniper
weak fjord
#

Oh

#

I'll flag this to someone thanks

#

That's a third party integration, so they're not affiliated with us

toxic juniper
#

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.

weak fjord
toxic juniper
#

"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.

weak fjord
#

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

toxic juniper
#

Well, I'll see what I can do. Seems I have to resolve to mocking for Session Checkouts anyway.

#

Thanks for Your help!

weak fjord
#

Yeah the issue with Checkout is it does require a lot of manual intervention