Page 1 of 1

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

Posted: Tue Dec 30, 2008 12:34 pm
by AbleMods
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")