divspace / chargeigniter

Chargify API for CodeIgniter
23 stars 11 forks source link

Changes to upgrade subscription #4

Closed jonathandsimmons closed 13 years ago

jonathandsimmons commented 13 years ago

The following changes to the chargify.php with fix the upgrade subscription function:

Line 287 currently: public function upgrade_subscription($subcription_id, $data) { Change line 287 to: public function upgrade_subscription($subscription_id, $data) { Notes: Simple typo fix that was preventing the subscription_id from being set

Line 289 currently: 'subscription' => $data Change line 289 to: 'product_id' => $data Notes: As per the API this value should be product_id or product_handle. The above example uses product_id.

ChargeIgniter commented 13 years ago

This issue has been fixed. Thank you!