Xml response with embedded error simulation

I'd like to know how to generate errors that produce xml of the form:

<customers>
    <errors>
        ....
    </errors>
    <customer>
        .....
    </customer>
</customers>

This type of response is referenced on http://support.cheddargetter.com/faqs/api-8/error-handling , however, I can't figure out how to cause such response to be generated. I'd like to, for testing purposes, to make sure I can handle it.

Thanks!

  1. You can test that on a plan change. This type of error only occurs if the customer is already a subscriber and an errant attempt is made to change the customer's subscription. For example:

    1. Create a customer on a paid plan successfully
    2. Change the customer's plan and credit card with an error simulation zip:
      • 95003, for example
  2. Thanks! Works perfectly.

  3. michael closed this discussion on 10 Dec, 2010 07:49 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