I have to add a work around fix for a payment method by adding a line of code to
I've tried my fix by adding it directly to that file and it's working, but since files in the vendor folder shouldn't be modified, I'll have to put that fix in
I've tried adding a copy of the file along with my modified code in
app/code/Magento/Payment/Helper/Data.php instead. Nothing happens and the bug is still there and I can't find any documentation on this.
How do I override that specific file?