Adding a charge to a free customer returns a 401.

luke's Avatar

luke

20 Jan, 2010 08:21 PM

Good afternoon,
Here's a minor glitch. If you try to add a charge to a customer on a free plan with no credit card information entered, it fails (which is expected behavior, of course).

However, it fails with a 401:
<?xml version="1.0" encoding="UTF-8"?><error id="46857" code="401" auxCode="">Cannot add a charge when the customer's subscribed plan is free and the subscription does not have current credit card information</error>

It seems like this should be a 412 or maybe a 400.

Regards,
Luke

  1. Support Staff 1 Posted by Marc Guyer on 20 Jan, 2010 11:50 PM

    Marc Guyer's Avatar

    Yup -- It should be a 400. We also found some other 401's that should have been 400's. We'll put that in the next major release unless you need it earlier for some reason.

    Thanks for the heads up.

  2. Marc Guyer closed this discussion on 20 Jan, 2010 11:50 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