Overpayment on Invoice

On the latest version, is there a way to add a payment larger than the total sum due? I.e. an overpayment. Just now, when I add an overpayment, the website throws a PHP error. Surely it would be a relatively easy thing to implement?

Please post your PHP error here, otherwise we can’t help you.

Also, please vote on this topic for a proper implementation of overpayments: Retainer / Prepaid / Credit balance for Invoices

Apologies. Here’s the code:

A PHP Error was encountered

Severity: Notice

Message: Undefined property: CI::$mdl_payment_custom

Filename: MX/Controller.php

Line Number: 59

Backtrace:

File: /home/fz2d7e2l/invoices.ardnaheincare.co.uk/application/third_party/MX/Controller.php
Line: 59
Function: _error_handler

File: /home/fz2d7e2l/invoices.ardnaheincare.co.uk/application/modules/payments/controllers/Payments.php
Line: 118
Function: __get

File: /home/fz2d7e2l/invoices.ardnaheincare.co.uk/index.php
Line: 327
Function: require_once


Fatal error: Call to a member function get_by_payid() on null in /home/fz2d7e2l/invoices.ardnaheincare.co.uk/application/modules/payments/controllers/Payments.php on line 118
A PHP Error was encountered

Severity: Error

Message: Call to a member function get_by_payid() on null

Filename: controllers/Payments.php

Line Number: 118

Backtrace:

Anything further on this?