Open sourcesolver opened 1 month ago
Hi @sourcesolver
You can refer to the documentation on django signals here: https://docs.djangoproject.com/en/5.0/topics/signals/
It should be possible to from djstripe.signals import webhook_processing_error
, and use webhook_processing_error
as a signal you can connect to with your callback. webhook_processing_error.connect(my_error_processing_callback)
.
When I try to use DJSTRIPE_WEBHOOK_EVENT_CALLBACK in my settings.py, I get:
I WANT to hook djstripe.signals.webhook_processing_error, but I could not find any clear documentation on how to do this (in my settings.py? models.py??) Can someone point me to a good EXAMPLE? Or tap out how to do so here?? There is mention (https://sourceforge.net/projects/dj-stripe.mirror/files/2.8.0/) of "instance" and "api_key" also being sent as arguments to djstripe.signals.webhook_processing_error -but no example!
Thanks in advance...