Pricing Plan Changes (Upgrade/Downgrade) Not working

's Avatar

alejandro

29 Apr, 2010 06:42 AM

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. Support Staff 1 Posted by Marc Guyer on 29 Apr, 2010 02:25 PM

    Marc Guyer's Avatar

    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.

  2. Marc Guyer closed this discussion on 29 Apr, 2010 02:25 PM.

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

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM