error when viewing payment details

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
meer2005
Captain (CAPT)
Captain (CAPT)
Posts: 245
Joined: Wed Feb 09, 2005 2:00 pm

error when viewing payment details

Post by meer2005 » Fri May 30, 2008 1:32 am

page of error: admin/Orders/Payments/Default.aspx?OrderId=17816


debug shows this:
Line 41: if (ShowButton("Capture", payment)) taskMenu.Items.Add(new ListItem("Capture Payment", "CAPTURE"));
Line 42: if (ShowButton("Void", payment))
Line 43: if ((payment.PaymentMethod.IsCreditCard() || payment.PaymentMethod.PaymentInstrument == PaymentInstrument.PayPal)
Line 44: && payment.PaymentStatus != PaymentStatus.Unprocessed)
Line 45: taskMenu.Items.Add(new ListItem("Void Authorization", "VOID"));


I removed this just so I could view the payment details:
if ((payment.PaymentMethod.IsCreditCard() || payment.PaymentMethod.PaymentInstrument == PaymentInstrument.PayPal)
&& payment.PaymentStatus != PaymentStatus.Unprocessed)
taskMenu.Items.Add(new ListItem("Void Authorization", "VOID"));
else
taskMenu.Items.Add(new ListItem("Void Payment", "VOID"));

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: error when viewing payment details

Post by Logan Rhodehamel » Wed Jun 04, 2008 12:34 pm

It would be helpful to know the error message. Do you still have it available?
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

Post Reply