Make a subscription Inactive

adam's Avatar

adam

08 Jul, 2013 03:49 PM

Hi,

I've refunded a subscription and cancelled it yet when I pull it through the API the plan is still set as isActive = 1

What's the correct procedure to set it to inactive?

Thanks,
Adam

  1. 1 Posted by Dean on 08 Jul, 2013 04:04 PM

    Dean's Avatar

    Hi Adam,

    The pull you're doing via the API is telling you the pricing plan is is active, not the customer's subscription. It's a common misconception. That parameter is just indicating the plan is active and available for use. If it's set to 0, customer's won't be able to signup for that plan.

    Cheers,
    Dean

  2. 2 Posted by adam on 08 Jul, 2013 09:10 PM

    adam's Avatar

    Hi Dean,

    What would be the best way to tell if a user has an active subscription?

    Thanks,
    Adam

  3. 3 Posted by Dean on 09 Jul, 2013 01:22 PM

    Dean's Avatar

    Hi Adam -- If they have a [canceledDatetime] in the customers/get response, then you know they're canceled.

  4. Jess Pendley closed this discussion on 21 Nov, 2013 07:45 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM