CheckoutFinland / checkout-finland-php-sdk

PHP SDK for using Checkout Finland payment service
https://www.checkout.fi
MIT License
5 stars 8 forks source link

Description is required for items #6

Closed niklasmannila closed 4 years ago

niklasmannila commented 4 years ago

Item validation fails if the description is not set. According to the Checkout Finland documentation it should not be a required attribute. Either the documentation is wrong or then it shouldn't require it to be set. Setting it as null won't work since the validate function does a stringType() validation on the value.

loueranta commented 4 years ago

Thanks for reporting. I'll investigate and get back to you.

loueranta commented 4 years ago

You were right, the validation is unnecessary. We will fix this in the next release.

niklasmannila commented 4 years ago

Awesome, thank you!