summaryrefslogtreecommitdiff
path: root/postgresqleu/mailqueue/util.py
diff options
context:
space:
mode:
authorStephen Frost2017-03-20 16:20:48 +0000
committerMagnus Hagander2017-04-16 19:40:28 +0000
commit30e64fb3ee6dd43aa6595be40d908662801df6e3 (patch)
tree49e237bd330be72533e91fa4023e4ab77cc85237 /postgresqleu/mailqueue/util.py
parentc19aaac35b6b92c9b142c03f3f0cf5a84b4e24b9 (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