elias_t
elias_t

Reputation: 83

Ruby on Rails with chargify

I want to integrate chargify to my rails app. I have user object and I want the user to be able to subscribe for one month and update the boolean column on user object. I prefer to use the API not hosted pages. How can I do that?

Is there any example for chargify on ruby on rails for handling subscriptions but with details about mvc for newbies?

Upvotes: 1

Views: 428

Answers (2)

ScottJShea
ScottJShea

Reputation: 7111

Based on this thread and the Googles it looks like there is not a whole lot out there.

You could try looking at the Rails 2 example here and converting it or use the gem here (gem "chargify", "~> 0.3.0").

I know none of this is aimed at newbies but the info seems to sparse.

Upvotes: 1

Vapire
Vapire

Reputation: 4578

This might get you going. It seems that Chartify itself is written in Rails, and therfore their API is ruby code, which you can use...

Upvotes: 1

Related Questions