Hello,
I am kinda posting for the first time so please excuse me if I break some forum rules. I installed prestashop for one of my clients. They got this PayU India module which I installed to their site. But when someone clicks Checkout with PayU, as soon as the customer is redirected to the payment gateway, s/he receives two emails!
One email states that the customer has paid the amount in full (though he didn't) and the other stating Awaiting Bank Wire Payment. Upon investigation of their code, I found the line in the hookPayment part of the code:
$payu->validateOrder((int)$cart->id, Configuration::get('PS_OS_BANKWIRE'), $total, $payu->displayName, NULL, NULL, (int)$currency->id, false, $customer->secure_key);
Here $payu is an instance of the Payu module object. I think Configuration::get('PS_OS_BANKWIRE') is setting the order status to Awaiting Bank Wire Payment and $total (being the total amount of the order) is setting the order as paid in full. Are my guesses correct? All I need to confirm is if this is an error on the part of the PayU module (cause if it is, I will get them to correct it for me).