How to know if Payment.Capture() was successful?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

How to know if Payment.Capture() was successful?

Post by AbleMods » Tue Dec 30, 2008 12:34 pm

I'm trying to capture a payment programmatically. I can issue the capture command, but what I need to know is if the capture was successful or if it failed.

Is there any way to force the capture method to wait until a response either way is received before code execution continues?

Code: Select all

_Payment.Capture(_Order.TotalCharges, True, False, "127.0.0.1")
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply