This project is read-only.

CreateSubscription and null

Jan 29, 2012 at 12:46 AM
Edited Feb 12, 2012 at 12:18 AM

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 9: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