Documentation explaining how to display invoices
Dear CG,
I'm not able to find the documentation for displaying invoices on our site. Can you share the link? Thanks.
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 27 Sep, 2010 10:55 PM
Hi Sunil -- Here's a KB article on email templates:
http://support.cheddargetter.com/faqs/operational-how-tos/email-tem...
You'll probably be particularly be interested in the Smarty documentation:
http://www.smarty.net/manual/en/smarty.for.designers.php
Also, the syntax reference link on the email template textbox (see attached screenshot) will show you which variables are available.
Marc Guyer closed this discussion on 27 Sep, 2010 10:55 PM.
sunil re-opened this discussion on 27 Sep, 2010 11:01 PM
2 Posted by sunil on 27 Sep, 2010 11:01 PM
Thanks, but can we display invoices online? If not, is that coming soon?
Support Staff 3 Posted by Marc Guyer on 28 Sep, 2010 12:02 AM
Hmm... Where would you like to display the invoice and for what purpose?
4 Posted by sunil on 28 Sep, 2010 12:05 AM
For our customers so they can see their billing history online.
Support Staff 5 Posted by Marc Guyer on 28 Sep, 2010 07:11 PM
Ah, I see. I misunderstood. This is fairly straightforward. Pull the customer xml from the API using the
customers/get
call. The first invoice in the list is the current one. The next is the last billed invoice and so on. Each invoice contains a set of charges including the recurring charge and any tracked item charges and custom charges. If the invoice has been billed, it will also contain a transaction node containing the transaction details.Marc Guyer closed this discussion on 28 Sep, 2010 07:11 PM.