Customer made the change needed to work with Sage 50. He needed to override the plugin file to achieve this. Unsure there is a way to override the public static functions with a child theme or custom plugin as there are no hooks in the script. He asked if we are you able to offer any assistance to ensure, updates to the plugin do not override the customisation. Customer says "The goal is to replicate how my client has always imported Opayo Transactions in to Sage 50, which I understand doesn't support XML. The script places brackets around the SKU, which Sage 50 recognises as a product code and marries this up nicely for stock control purposes. It also places a standard [SHIP] Sku for the shipping line, again to automatically account for this in Sage50 against the correct account. The custom script also removes the separated Discount and Tax lines, to instead calculate for these on the associated line entry. I don't believe this is necessarily beneficial for many other users, but if a plugin update could include hooks that would allow these functions to be overridden in our functions.php, that would be ideal for our purposes, with no impact to other users (unless they needed it too). If this is something you could implement, I would be happy to help you test this."