Fix for Bug #9: nullified the affected order totals before invoking invoice->pay() & save(). API fixes for incorrect store configuration data fetch, affecting capture() and all API functions assoc with payment