Update transactions.js

[FIX] In the event of an edge case (ie. invalid funds etc), Coinbase still returns a 200 response, this fix serves to parse the actual response and make sure it was successful