GetComponentsForSubscription XML

Nov 15, 2011 at 10:23 AM

Hi, 

Just came accross an issue when calling ChargifyConnect's  GetComponentsForSubscription method where the returned XML is not parsed correctly.

It seems that Chargify returns differently formated XML for this request to that of the other get components method (GetComponentsForProductFamily) , but Chargify.NET uses same code to parse both. 

In particular, the name of the component id node is "component_id" rather then just  "id" that ComponentInfo class expects.

 

As this is the very first time I tried using this method GetComponentsForSubscription) I don't know if this is something that chargify changed on their side or it has been there from the start. 

Any comments are wellcome and in the meantime I'll try to contact chargify support to see what they have to say about this.

 

Regards Ismar