Closed jonathansimmons closed 9 years ago
Hey @jonathansimmons, would you mind opening a ticket at https://chargify.zendesk.com/hc/en-us? When doing so, can you include a working example of this behavior (subscription ID you're trying to reactivate)? I'll take a look.
Thanks!
This is possible in the Chargify web interface so I'm hoping it's just an oversight on the API side somehow. We've found that we often have people who try out our app, never enter card info and come back a few months later to try it again. We'd prefer to not have to manually reactivate each of these accounts.
Problem
I'm unable to re-activate a subscription if there is no card on file via a reactivate call.
Steps To Reproduce Attempt to call
@subscription.reactivate
or@subscription.reactivate(include_true:1, preserve_balance: 0)
on a cancelled subscription without a card on file.Expected Results Reactivated subscription, and a subscription state change callback.
Actual Results A subscription error of: "The customer does not have a credit card on file."
Version Numbers chargify_api_ares: 1.2.1 Rails 4.1.5 Ruby 2.1.2
(cc: @yesthatallen)