Hello guys, i have been trying to implement he change subscription method or you api with no luck. Any suggestions? This is my code:
public function editSubscription($clientcode, array $data) {
return new CheddarGetter_Response(
$this->request(
'/customers/edit-subscription/productCode/'.$this->_productCode.'/code/'.$clientcode,
$data
)
);
}
There is no error message when i try to excecute.

#1 Posted by Marc Guyer Support staff on 29 Apr, 2010 02:25 PM
Hi -- Did you check the error log?
https://cheddargetter.com/admin/report/errors
I see that there are a few recent errors there. Not sure if they're related to your subscription change attempt but they probably are. It appears that you are using a PHP wrapper very similar to the open-source wrapper here: https://cheddargetter.com/developers#open-source-wrappers. It will throw a CheddarGetter_Response_Exception if there are errors. Your port may not be. I have a feeling that if you examine the raw response from the API, you'll see the error.
Marc Guyer closed this discussion on 29 Apr, 2010 02:25 PM.