Hi, I'm working on a payment plugin and that generates a 3 field code (based on settings, cliente ID, order number (for that client) and order value), those 3 fields can then be used by the client to pay the order using a wide range of methods like bank, debt card, payshops, post offices, etc. (irrelevante for the plugin).
My problem is that I need to be able to include that info on the invoice, as well as to present it to the store admin for him to be able to validate payment (or in the future to validate it automatically)
I don't even need to store the values, I just need a way to call a method that recalcultes it and present it on both the invoice and the order detail page.