backport fix to 2-3
Merge pull request #173 from gflateman/2-3-stable

Backport braintree#cancel fix to 2-3