Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass data from validation to Job #28

Closed
AlbertoSinigaglia opened this issue Oct 14, 2019 · 1 comment
Closed

pass data from validation to Job #28

AlbertoSinigaglia opened this issue Oct 14, 2019 · 1 comment

Comments

@AlbertoSinigaglia
Copy link

Stripe for example use a Event constructor in order to validate the request: if the construction doesn't throw an exception, the validation is positive, otherwise the request is not valid. But at the moment, i need to requild the event inside the job. Is there any way to pass the evet from the validation to the job in order to not rebuild it ?

@freekmurze
Copy link
Member

I don't know what you mean. Could you give a code example to clarify?

We have a decidated package for handling stripe webhooks: https://github.com/spatie/laravel-stripe-webhooks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants