plan upgrade/downgrade

Andy's Avatar

Andy

06 Dec, 2010 11:41 PM

I'm integrating service with cheddargetter.
I've few plans: montly and 3 months, all have 1 month or free trial.
When I change plan via PHP providing just new plan:

     $data = array(
          'subscription' => array(
          'planCode' => 'MY NEW PLAN',
         )
     );

then user is immediately charged.

on new plan I've:
bill immediately for a prorated amount and start new billing period

but it doesn't respect free trial period, is that possible to switch between such plans but still respect 1 month of trial?

AA

  1. Support Staff 1 Posted by Marc Guyer on 07 Dec, 2010 03:15 PM

    Marc Guyer's Avatar

    Hi Andy -- By default, when switching from a free plan to a paid plan, the behavior is as if the customer signed up for the paid plan to start with.

    You can override the next bill date with the changeBillDate field:

    https://cheddargetter.com/developers#update-subscription

    In other words, you can match the current trial period by setting that date according to your trial.

  2. Dean closed this discussion on 16 Jan, 2013 03:41 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