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

[Cashier] Missing mandatory parameters to downloadInvoice #7173

Merged
merged 1 commit into from
Jul 7, 2021
Merged

[Cashier] Missing mandatory parameters to downloadInvoice #7173

merged 1 commit into from
Jul 7, 2021

Conversation

matthieumota
Copy link
Contributor

I think there is a little typo about downloadInvoice(), method needs data array parameter with at least vendor and product keys.

@taylorotwell taylorotwell merged commit f029542 into laravel:8.x Jul 7, 2021
@driesvints
Copy link
Member

This isn't correct. In the latest v13 these aren't required anymore.

@matthieumota
Copy link
Contributor Author

I suspected because I had seen the modification on the documentation. But I haven't found this anywhere in code base on 13.x branch. Maybe I missed it.

@driesvints
Copy link
Member

@matthieumota I'm sorry but you're correct. This is still required. I forgot to assign new defaults while working on v13 🤦‍♂️

@matthieumota
Copy link
Contributor Author

I'm ok to open PR but I don't know what default values to product and vendor, maybe APP_NAME or empty value ?

@driesvints
Copy link
Member

I'll take care of it in the next release 👍

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

Successfully merging this pull request may close these issues.

3 participants