Want to access all of our courses? (30 h 33 min)
You also get:
Already a member? Login here
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
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
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?
Yes, it is called by Stripe when some event happens on their side.
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.
Your feedback has been received. We truly appreciate you taking the time to help us improve.
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
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