Create Invoice with credit to Customer returns error
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
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 18 Jan, 2012 04:17 PM
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.
Marc Guyer closed this discussion on 18 Jan, 2012 04:17 PM.
vamsi re-opened this discussion on 20 Jan, 2012 01:58 AM
2 Posted by vamsi on 20 Jan, 2012 01:58 AM
Support Staff 3 Posted by Marc Guyer on 20 Jan, 2012 02:46 PM
No problem. Native refund support was released on Wednesday.
Marc Guyer closed this discussion on 20 Jan, 2012 02:46 PM.
vamsi re-opened this discussion on 24 Jan, 2012 06:27 AM
4 Posted by vamsi on 24 Jan, 2012 06:27 AM
Marc Guyer closed this discussion on 24 Jan, 2012 04:04 PM.
vamsi re-opened this discussion on 07 Feb, 2012 11:53 AM
5 Posted by vamsi on 07 Feb, 2012 11:53 AM
Support Staff 6 Posted by Marc Guyer on 07 Feb, 2012 01:58 PM
Yes. Click on "Issue Refund" at the bottom of the invoice you wish to refund.
Marc Guyer closed this discussion on 10 Feb, 2012 02:41 PM.