You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, sorry for the delay in replies. Stripe does not to my knowledge publish a list of all the possible webhook formats in an easy-to-consume manner so this is currently hand-written and the paypal event has not been added.
Describe the bug
When I test a failed PayPal transaction, the library fails to construct the Webhook Event that's triggered. I get the following:
Weirdly this works when the payment is successful!
To Reproduce
Webhook::construct_event()
to construct the event.Fail Test Payment
on the test payment pageWebhook::construct_event
should produce aErr(BadParse(...))
as aboveExpected behavior
PayPal should be recognised as a variant! And the webhooks should be constructed as any other valid variant.
Code snippets
No response
OS
Windows 10
Rust version
1.70.0
Library version
0.22.2
API version
2022-11-15
Additional context
Successful PayPal attempts work correctly
The text was updated successfully, but these errors were encountered: