When I make an API call to cancel a subscription, the cancellation seems to go properly, however the API responds with an HTML page instead of an XML object. Specifically, the body of the page includes this error message:
You've been logged out due to inactivity. Please login
below.
Again, everything else looks fine, just the response.

#1 Posted by Marc Guyer Support staff on 22 Sep, 2009 08:47 PM
Weird -- That response comes back when the action isn't "API enabled". All implementations of that method up to this point hadn't examined the response.
This action is now API enabled.
Marc Guyer closed this discussion on 22 Sep, 2009 08:47 PM.
Frank Koehl re-opened this discussion on 22 Sep, 2009 09:17 PM
#2 Posted by Frank Koehl on 22 Sep, 2009 09:17 PM
That's interesting, because all I did was use the method built into your stock PHP library.
My test now processes successfully.
#3 Posted by Marc Guyer Support staff on 22 Sep, 2009 09:38 PM
Yeah -- the Response object will ensure that the response can be loaded into the dom and that it doesn't contain an error node.
The response you were receiving before passed both tests with flying colors.
Marc Guyer closed this discussion on 22 Sep, 2009 09:38 PM.