Showing only successful payments
Posted: Thu Jul 12, 2012 11:40 am
We have AC 7.0.6 and have some confused customers.
The reason for the confusion is that if they mess up the first credit card payment information they end up at the MyOrder page. In this page the invoice has a repeater that shows all payments, successful and not, and the customer thinks it's a multiple charge even though it says Void. I can't blame them, I get nervous on that kind of thing too.
So, in the code we have but I only want the non-"Status: void" ones to show. Anyone have an idea how to do this easily. I'd rather not get into creating my own SQL statements for this if there is an easier way.
Thanks!
The reason for the confusion is that if they mess up the first credit card payment information they end up at the MyOrder page. In this page the invoice has a repeater that shows all payments, successful and not, and the customer thinks it's a multiple charge even though it says Void. I can't blame them, I get nervous on that kind of thing too.
So, in the code we have
Code: Select all
PaymentRepeater.DataSource = _Order.Payments;
PaymentRepeater.DataBind();
Thanks!