Jerome Leclanche

Results 417 comments of Jerome Leclanche

I see. But your tests run against production and produce real events? Or are these test mode events you're receiving? It might be possible to discard test mode events indiscriminately...

@BoPeng are you on 2.7 or 2.6? In 2.7 every webhook URL is unique, so you could simply disable / devnull the url for your test setup.

@BoPeng in 2.7 test and live mode should have different webhook endpoints, so you can just discard the ones on test

I will try to release 2.7 this week. But you can safely use 2.7.0rc2 as there will be no changes between now and release (it's literally just the changelog that...

I see what you mean... no I don't think there's a way to know the events in question were or were not handled during testing. I'm looking into whether there's...

If instead of including djstripe urls, you include urls to your own webhook handler (see this file: https://github.com/dj-stripe/dj-stripe/blob/master/djstripe/urls.py), subclassing [ProcessWebhookView](https://github.com/dj-stripe/dj-stripe/blob/4883129662829356370b18c7905c474ae8f528a3/djstripe/views.py#L18), you can do some pre-processing. Unfortunately it involves decoding the...

Yup I understand. I will try to do something to make life easier. But for now what you could do is monkey-patch `WebhookEventTrigger.is_test_event` to return `True` if whatever condition you...

Left my comments in the PR, very sorry for the long delay.

If you want to fix it and submit a patch I will review and merge it, but in general I don't have a way of actively maintaining it.

Feel free to merge it in! But I'm afraid I'm not interested in being a committer on here, I've spent enough time on it as is :) If you'd like...