I've found it in your'e code, you have commented out the part that send the mail to the customer.
'SendEmailToClient(PortalID, GetClientEmail(PortalID, objOInfo), objOInfo.OrderNumber, objOInfo, "paymentOK.email", "")
I've found it in your'e code, you have commented out the part that send the mail to the customer.
'SendEmailToClient(PortalID, GetClientEmail(PortalID, objOInfo), objOInfo.OrderNumber, objOInfo, "paymentOK.email", "")