Create Invoice with credit to Customer returns error

Vamsidhar's Avatar

Vamsidhar

18 Jan, 2012 03:39 AM

I am using the One-Time Invoice API with the url "xml/invoices/new/productCode" (partial url pasted here) to credit to the custmer.

The API says that setting a negative value will do the credit to the customer. But, I am getting the below response.

<?xml version="1.0" encoding="UTF-8"?>
Total amount must be greater than or equal to zero

Input is
charges[0][eachAmount]=-1500, charges[0][chargeCode]=1326857709916, charges[0][quantity]=1

  1. Support Staff 1 Posted by Marc Guyer on 18 Jan, 2012 04:17 PM

    Marc Guyer's Avatar

    Hi Vamsidhar -- This isn't clear in the interface but one-time invoices cannot be used to give money back to a customer. You can do two things: 1) issue a credit on the customer's pending invoice -- this will be settled against future charges. 2) execute a refund of a previous transaction from within your billing solution merchant interface.

    We're releasing native refund support in CG within the next few days.

  2. Marc Guyer closed this discussion on 18 Jan, 2012 04:17 PM.

  3. vamsi re-opened this discussion on 20 Jan, 2012 01:58 AM

  4. 2 Posted by vamsi on 20 Jan, 2012 01:58 AM

    vamsi's Avatar
    Thank you, Marc.

    -------- Original Message --------
    Subject: Re: Create Invoice with credit to Customer returns error
    [Problems]
    From: "Marc Guyer"
    <[email blocked]>
    Date: Wed, January 18, 2012 9:47 pm
    To: <[email blocked]>


    // Add your reply above here
    ==================================================
    From: Marc Guyer
    Subject: Create Invoice with credit to Customer returns error

    Hi Vamsidhar -- This isn't clear in the interface but one-time invoices cannot be used to give money back to a customer. You can do two things: 1) issue a credit on the customer's pending invoice -- this will be settled against future charges. 2) execute a refund of a previous transaction from within your billing solution merchant interface.

    We're releasing native refund support in CG within the next few days.

    View this Discussion online: http://support.cheddargetter.com/discussions/problems/1018-create-invoice-with-credit-to-customer-returns-error
    --

    Reply with #ignore to stop receiving notifications for this discussion.


  5. Support Staff 3 Posted by Marc Guyer on 20 Jan, 2012 02:46 PM

    Marc Guyer's Avatar

    No problem. Native refund support was released on Wednesday.

  6. Marc Guyer closed this discussion on 20 Jan, 2012 02:46 PM.

  7. vamsi re-opened this discussion on 24 Jan, 2012 06:27 AM

  8. 4 Posted by vamsi on 24 Jan, 2012 06:27 AM

    vamsi's Avatar
    Cool. I will try it out.

    Thanks

    -------- Original Message --------
    Subject: Re: Create Invoice with credit to Customer returns error
    [Problems]
    From: "Marc Guyer"
    <[email blocked]>
    Date: Fri, January 20, 2012 8:16 pm
    To: <[email blocked]>


    // Add your reply above here
    ==================================================
    From: Marc Guyer
    Subject: Create Invoice with credit to Customer returns error

    No problem. Native refund support was released on Wednesday.

    View this Discussion online: http://support.cheddargetter.com/discussions/problems/1018-create-invoice-with-credit-to-customer-returns-error
    --

    Reply with #ignore to stop receiving notifications for this discussion.

  9. Marc Guyer closed this discussion on 24 Jan, 2012 04:04 PM.

  10. vamsi re-opened this discussion on 07 Feb, 2012 11:53 AM

  11. 5 Posted by vamsi on 07 Feb, 2012 11:53 AM

    vamsi's Avatar

    Hi Marc,

    Retried the credit scenario. I still get the same message:

    Aux Code- :0
    Error message: Total amount must be greater than or equal to zero

    Do I need to do anything different to leverage the native refund support?

    Thanks

    -------- Original Message --------
    Subject: Re: Create Invoice with credit to Customer returns error
    [Problems]
    From: "Marc Guyer"
    <[email blocked]>
    Date: Fri, January 20, 2012 8:16 pm
    To: <[email blocked]>


    // Add your reply above here
    ==================================================
    From: Marc Guyer
    Subject: Create Invoice with credit to Customer returns error

    No problem. Native refund support was released on Wednesday.

    View this Discussion online: http://support.cheddargetter.com/discussions/problems/1018-create-invoice-with-credit-to-customer-returns-error
    --

    Reply with #ignore to stop receiving notifications for this discussion.

  12. Support Staff 6 Posted by Marc Guyer on 07 Feb, 2012 01:58 PM

    Marc Guyer's Avatar

    Yes. Click on "Issue Refund" at the bottom of the invoice you wish to refund.

  13. Marc Guyer closed this discussion on 10 Feb, 2012 02:41 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