thephpleague / omnipay-mollie

Mollie driver for the Omnipay PHP payment processing library
MIT License
62 stars 38 forks source link

Orders api lines.category #75

Open ineghi opened 4 years ago

ineghi commented 4 years ago

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 commented 4 months ago

Hi!

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