Subscription Required

برای مشاهده این درس نیاز به خرید اشتراک دارید.

با خرید اشتراک به قابلیت نمایش آنلاین و دانلود بیش از 1500 جلسه آموزشی منتشر شده در وبسایت Laracasts دسترسی خواهید داشت.

درس قبلی
Events and Webhooks

Events and Webhooks

Events and Webhooks

قسمت 9
درس بعدی

درباره این درس

It's paramount that you listen for a number of Stripe-specific events. For example, what if attempts to renew a customer's subscription fails? Though Stripe will attempt this charge a number of times, eventually, the subscription will be canceled. As such, it's vital that we have a way to listen for such an event, and deactivate the user's account in our database. In this episode, we'll register a webhook endpoint with Stripe, and learn how to listen for events and fetch the associated payload. In the process, I'll also demonstrate a useful technique for registering local webhooks.
دیدگاه های کاربران

× در حال پاسخ به: