getyouridx / pychargify

Python Library for Chargify.com
http://support.chargify.com/faqs/api
GNU General Public License v2.0
22 stars 18 forks source link

Something's not right. #2

Closed myxibrium closed 13 years ago

myxibrium commented 14 years ago

The very last line of api.py seems to be wrong. It currently says this: return ChargifyPostBack(self.api_key, self.sub_domain) And it should say this: return ChargifyPostBack(self.api_key, self.sub_domain, postbackdata)

Otherwise, why would postbackdata be given as an argument of that class factory? (to be honest I'm not even sure what a PostBack is quite yet, I'm still pretty newbie at this)

ghost commented 13 years ago

Correct, fixed.

PostBack handles the postback data when chargify posts back to you application to say a sucscription has changed.