Learn how to use helpers in the client library to deserialize webhook event payloads into instances of objects rather than working with raw json directly. You'll also learn how signature verification works and how you can use the methods in the client library to handle signature verification for you.
Presenter
Thorsten Schaeff - Developer Advocate at Stripe - / thorwebdev
Resources
Client library: github.com/stripe/stripe-php
Documentation for basic: stripe.com/docs/webhooks/build
Documentation for signature verification: stripe.com/docs/webhooks/sign...
Code: github.com/stripe-samples/dev...
Table of contents
00:00 Webhooks overview
00:49 Events
01:41 Webhooks vs. polling
01:57 Versioning
02:24 Deserialization
02:52 Development process
03:18 Implement a basic webhook handler
08:49 Security
09:18 Signature verification
10:46 Create webhook endpoints
12:42 Stripe CLI `listen`
13:12 Implement a webhook handler that verifies signatures
18:37 Conclusion
Support
If you have a question, please feel free to reach out to our support team on Discord at stripe.com/go/developer-chat.
Updates
Sign up to stay updated with developer news: go.stripe.global/dev-digest
Feedback
If you have any feedback about this or other episodes, let us know: forms.gle/VjNqzRhotM2snYo88.
#Stripe #Payments
Негізгі бет Ғылым және технология Webhook helpers in stripe-php
Пікірлер: 13