We have to update orders as complete and capture payment when our fulfillment system completes. We call the function "CompleteOrder" in smartstore and it calls this code
if (CanMarkOrderAsPaid(order))
{
MarkOrderAsPaid(order);
}
Now we are using PayPal as our CC processor and when we do this process it doesn't capture the payment, just marks it as paid. Is there a way we should be doing this so the order is marked as complete and the payment is captured?