CreateSubscription and null

Jan 28, 2012 at 11:46 PM
Edited Feb 11, 2012 at 11:18 PM

If the createsubscriotion fails, does it always return a null? Do we get any information back on failed credit card, etc?

Apr 11, 2012 at 8:23 PM


If a create fails, you'll get the ChargifyException which might contain errors (.Errors) that explain why the call failed. Note that not all actually return useful information. Most declines actually return a 422 with no information at all.

-- Kori