Sounds like he researched this bill and came to a conclusion that it would be better to veto it. I doubt any partisan behavior had anything to do with as he never striked me as a partisan President. I bet even some republicans secretly wanted this bill vetoed.
This is why a move towards digital e-currency could provide an added protection for consumers. They have a secure backbone that prevents fraud from taking place.