diff options
author | Stephen Frost | 2017-03-20 16:20:48 +0000 |
---|---|---|
committer | Magnus Hagander | 2017-04-16 19:40:28 +0000 |
commit | 30e64fb3ee6dd43aa6595be40d908662801df6e3 (patch) | |
tree | 49e237bd330be72533e91fa4023e4ab77cc85237 /postgresqleu/mailqueue/util.py | |
parent | c19aaac35b6b92c9b142c03f3f0cf5a84b4e24b9 (diff) |
Fix amount sent to Braintree
When the amount already includes a decimal place, we were mistakenly
trying to add another one, causing Braintree to fail.
As Braintree will actually accept either '10' or '10.00', it seems
unnecessary to try and do anything here, so just remove the addition
of the '.00'.
With this, Braintree processing against their sandbox works with the
current version of python-braintree and python-openssl from
jessie-backports.
Diffstat (limited to 'postgresqleu/mailqueue/util.py')
0 files changed, 0 insertions, 0 deletions