amzn / amazon-pay-sdk-csharp

Amazon Pay C# SDK
https://payments.amazon.com/developer
Apache License 2.0
48 stars 42 forks source link

Optional client configuration variables throw exception #2

Closed jeremy-loffredo closed 9 years ago

jeremy-loffredo commented 9 years ago

application_name and application_version are considered optional per readme. If these values are not provided, they default to null.

SetUserAgentHeader throws an exception when attempting to work with the null value as a string.

shrakuma commented 9 years ago

Hi Thank you for finding the bug and bringing it to my attention. I have fixed the issue in the latest upload to the DoDo branch. please check and let me know if everything works okay and also feel free to let me know anytime if you see any issues. I will fix them ASAP

jeremy-loffredo commented 9 years ago

Verified!