Forums/Community/Community Support

Answered

Upgrade/downgrade

Tim Shnaider
asked this on May 02, 2011 04:34 am

I see that there is currently no hosted pages for doing a subscription upgrade/downgrade.

So this would require custom development and use of the API.

Ok, I can live with that, but see a couple of posts that *grades will have hosted pages 'shortly'?
One of the advantages of having the hosted pages is giving the buyer a bit more peace of mind that their CC details are being collected in a 'safe' manner.

How do you handle a subscribers credit card details changing? Do I need to collect their new CC details and update the subscription via API?

(all very painful researching the options)

Cheers,
Tim

 

Comments

User photo
Jay G
Chargify Support

Hello Tim,

Thank you for contacting Chargify.

I am forwarding your message to our technical sales team for their review.

Regards,

Jay G.

May 02, 2011 05:30 pm
User photo
Lance Walley
Chargify

Hey there,

We have a hosted page for changing credit card details. If your customer's card fails for some reason, then we will send an email to them, asking them to click a link in our email and come to our site to change their card.

You can also generate the change-card URL and include it in an email you send, etc.

As for upgrading/downgrading the plan your customer is on, that's a different thing and, yes, it requires you or someone you hire to make some pages and integrate to our API.

We are (kind of forever, but it's coming along) working on a narrow "portal" that you'll be able to use to direct your customers to a site we host for you, where they can do common things like updating a card, maybe simple plan upgrades, etc. Sorry it's taking longer than we expected.

Thanks.

--- Lance

May 03, 2011 10:50 pm
User photo
Tim Shnaider

Thanks Lance, our site is implemented using .NET so the most appreciated .NET library should make this straight forward.

May 04, 2011 08:03 pm
User photo
Kori Francis
Chargify
Ajax_loader_small Answer

Tim,

The .NET wrapper is available here - called Chargify.NET. You can also add it as a package reference using the Nuget command in the package manager:

'Install-Package chargify'

There's lots of documentation available, sample implementations (Azure, WebForms, MVC3), and I'm the author so I'm available for lots of help if you need it.

Specifically, the bit to migrate subscriptions looks like this:

ChargifyConnect chargify = new ChargifyConnect{ ... };
chargify.MigrateSubscriptionProduct(s.SubscriptionID, "product", false, false);

And to update a subscription product, you would do something like this:

ChargifyConnect chargify = new ChargifyConnect{ ... };
chargify.EditSubscriptionProduct(s.SubscriptionID, "product");

-- Kori (@djbyter)

May 04, 2011 10:13 pm
User photo
Tim Shnaider

Hi Kori,

For pro-rated upgrades, how can we predictably determine the amount Chargify will charge? i.e. what is a repeatable formula.

For example, on a $10 plan, and doing an upgrade to $20 plan half way through period, I need to advise customer what the additional charge will be factoring in unspent amount.

Can't see anything in API that would return a $ figure.

May 17, 2011 12:07 am
User photo
Tim Shnaider

Hi Kori,

For a pro-rated upgrade I need the current balance (or credit) that will be applied to the more expensive plan.

E.g. on $10 plan, half way through period, and now going to upgrade to $20 plan. 

I see no mechanism in the API to get the difference or credit that will be applied to the new plan.

We need a repeatable formula or way of getting this to present to the user before doing a pro-rated upgrade.

May 17, 2011 03:16 am
User photo
Bogdan Pop

Hi Kori,

I'm asking the same thing as Tim Shnaider does.

Is there any repeatable formula.

When will there be hosted pages for doing subscription upgrades/downgrades?

 

November 07, 2011 06:25 am
User photo
Lance Walley
Chargify

Ah, that is coming! We'll be adding hosted pages to allow upgrade/downgrade, etc. No details, yet; please follow our Twitter account, though.

November 07, 2011 02:06 pm
User photo
Simon Lenoir

Hi Lance, 

Any update on this hosted pages for upgrade/downgrade?

Thanks,

December 16, 2011 08:04 am
User photo
Lance Walley
Chargify

Hey, sorry to say it's been delayed like all the other sexy stuff we're working on, behind the not-as-sexy but really important work outlined here for most of December:

http://chargify.com/blog/chargify-performance/

December 16, 2011 12:53 pm