Skip to content

Orders api lines.category #75

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

Open
vaileamon opened this issue Oct 2, 2020 · 1 comment
Open

Orders api lines.category #75

vaileamon opened this issue Oct 2, 2020 · 1 comment

Comments

@vaileamon
Copy link

vaileamon commented Oct 2, 2020

Hi !

It's more a question than an issue concerning the createOrder method;
Will adding any field that is on the Orders api documentation in the parameters be transmitted to the Orders api ? eg the new lines.category field.

Thanks for your answer !

edit:
Response is no. I had to extend and modify the \Message\Request\CreateOrderRequest::getLines method and add the category property.
I know little about Omnipay in general, the next would probably to alter the Item class to support the category property.

Does it make sense to make a PR ?

@maxpdesign
Copy link

Hi!

Any update on this issue? We need the lines.category to provide support for vouchers.

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