Skip to main content

Step 5. Delivering the Product: Stripe Webhooks

Premium
8:45

The Full Lesson is Only for Premium Members

Want to access all of our courses? (30 h 33 min)

You also get:

55 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Comments & Discussion

VA
Victor Azuara ✓ Link copied!

im trying to use phpunit for test the jobs, but i cant generate the post request, i always get signature invalid, may you tell me a tip to generate the correct post? Thanks

PK
Povilas Korop ✓ Link copied!

Testing Stripe payments is much more tricky than this, I would do that with mocking/faking the providers. I talked about that in my course about Advanced Laravel Testing and also in this article: Laravel Testing: Mocking/Faking External 3rd Party APIs

KS
Kacper Stryjewski ✓ Link copied!

You have created Job for stripe hooks. Who call this endpoint where is job? Is it called by stripe hook? I'm not catch this, can you simple explain?

PK
Povilas Korop ✓ Link copied!

Yes, it is called by Stripe when some event happens on their side.

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.