Hi Tuan
I need that invoce is going out even for free plans.
Earlier i changed the core code like this:
Code:
public static function needToCreateInvoice($row)
{
if ($row->amount > 0 || $row->gross_amount > 0)
{
return true;
}
else
{
return false;
}
}
to this
Code:
public static function needToCreateInvoice($row)
{
return true;
}
in file components=>com_osmembership=>helper/helper.php (line 606, earlier it was line 202)
However changing this just result in that no invoice at all are going out.
Could you please help me and point me in the right direction were to change the code so that I have an invoice going out for
all plans (even those who are free)
One more thing I saw now is that if you use the offline payment and after admin approved the subscription there is no invoice going out that says that payment is ok (just the confirmation email is coming) I also need that a new invoice is sent with confirmation that payment has been done (I know that subscribers can download it but I really need it sent by email as well)