#Jonah Librach

1 messages · Page 1 of 1 (latest)

wispy narwhalBOT
rare quail
solemn gazelle
#

Thanks I'll check it out

#

I do have a stripe CLI, but it seems the events I do are connected to the server

#

How do I direct my python bindings to the locally running stripe machine

#

I've been running this stripe listen --forward-to localhost:80/stripe_webhooks, but commands still go to stripe's online API, no?

rare quail
solemn gazelle
#

When I say connected to the server I mean Stripe's global server

#

Ya, that's what I've been doing, which is too slow

#

It just takes too long to run those tests unfortunately I can't wait 30 seconds for the test_clock to update

rare quail
#

Triggering events via CLI will always create event on your account. Stripe CLI doesn't provide offline mocking objects or events

#

Mocking the integration can only be done within your own test system

solemn gazelle
#

Any tips for how to do this?

rare quail
#

I'm afraid mocking events will not be possible with Stripe CLI as any operation requires real objects such as advancing the time with test clock