Question about Payment.Capture()

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

Question about Payment.Capture()

Post by AbleMods » Mon Sep 13, 2010 6:55 am

Intellisense is showing the Payment.Capture() method as having 4 parameters. I use it in some server-side automation like this:

Code: Select all

_Payment.Capture(_Order.TotalCharges, True, False, "127.0.0.1")
My question is, the third parameter is a true/false called "Async".

What does 'Async' mean? Is it a flag to say whether the program code will wait until the capture is fully complete?
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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Question about Payment.Capture()

Post by mazhar » Tue Sep 14, 2010 7:49 am

Is it a flag to say whether the program code will wait until the capture is fully complete?
I believe yes.

Post Reply