When creating a PaymentIntent, we should add some identifyer to filter all incoming Stripe webhook events. GEWIS uses the same Stripe organization for multiple applications (SudoSOS, GEWISDB), so we also receive all events.
Why is this needed?
Right now, we throw a 404 if we do not know the PaymentIntent. One could argue this is a valid response, as SudoSOS does not know how to handle the PaymentIntent. However, Stripe does not like receiving 404's and wants to block us.
What would you like?
When creating a PaymentIntent, we should add some identifyer to filter all incoming Stripe webhook events. GEWIS uses the same Stripe organization for multiple applications (SudoSOS, GEWISDB), so we also receive all events.
Why is this needed?
Right now, we throw a 404 if we do not know the PaymentIntent. One could argue this is a valid response, as SudoSOS does not know how to handle the PaymentIntent. However, Stripe does not like receiving 404's and wants to block us.
How could it be implemented?
No response
Other information
No response