paypal/merchant-sdk-dotnet — pull request #17 by jhkrause (2014-02-07 12:36:09+00:00)
Title: Deserialisation of OptionType class fixed

To deserialise the name and value properties of the PayPal.PayPalAPIInterfaceService.Model.OptionType class, the code was calling SelectSingleNode, which looks for elements in the xml.

The xml sent by Pay Pal contains the name and value as attributes, so SelectSingleNode returns null.
I have changed it to call xmlNode.Attributes.GetNamedItem() to read the values.