-
Hi! @webhooks.handler('charge.succeeded') And I need to access data from the stripe event data e.g. amount, email etc. Thanks in advance for all the advice :-) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Aaaand I've found it, leaving it here in case someone could use it in the future @webhooks.handler('charge.succeeded') |
Beta Was this translation helpful? Give feedback.
Aaaand I've found it, leaving it here in case someone could use it in the future
@webhooks.handler('charge.succeeded')
def my_handler(event, **kwargs):
amount=event.data['object']['amount']
email=event.data['object']['billing_details']['email']