Last active
January 27, 2018 22:58
-
-
Save kellymears/5911375 to your computer and use it in GitHub Desktop.
getting recurring donors from Convio API (for SaveDarfur.org)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function get_recurring_gifts($cons_id) { | |
$this->log_message('get_recurring_gifts() called.'); | |
if($cons_id) { | |
$convio_data['cons_id'] = $cons_id; | |
$response = $this->convio_api->call('SRRecurringAPI_getRecurringGifts', $convio_data); | |
} else $this->log_error("get_recurring_gifts(): no cons_id specified."); | |
if($response) do_method_output($response); | |
else $this->log_error('get_recurring_gifts(): no response from convio.'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment