Created
November 8, 2023 21:37
-
-
Save chuchuva/052cf3c472289a6acba6808e5e84a6eb to your computer and use it in GitHub Desktop.
How to test Stripe webhook from Postman
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# instead of event = Stripe::Webhook.construct_event(payload, signature, ENDPOINT_SECRET) | |
data = JSON.parse(payload, symbolize_names: true) | |
event = Stripe::Event.construct_from(data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment