Pricing Plan Changes (Upgrade/Downgrade) Not working
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.
Discussions are closed to public comments.
If you need help with Cheddar please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Marc Guyer 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.