I want to change payment state from 'IN PAYMENT' to 'PAID' in my invoice. I've done all payment but payment state not to be 'PAID' and just remained 'IN_PAYMENT'. What should I do?
Also, I checked payment_state in python code and there is written the following:
'Hook to give the state when the invoice becomes fully paid. This is necessary because the users working with only invoicing don't want to see the 'in_payment' state.'
what is mean that 'Hook'?
Can you let me know if you know anyone?