Bug with payments

Hello,

There’s a bug after entering payments where it adds the payment but won’t update the status.
The bug is on line 84 from this file,
this line should be

$payment = $this->db->get('ip_payments');

instead of

$payment = $this->db->get('invoice_id');

Cheers,

Closed. Duplicate of Error changing invoice value to "PAID' after upgrading to v1.3.0