diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-10-23 14:46:00 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-10-23 14:46:00 -0700 |
commit | 26d0d6c431a941d966caf00783d3d398b8816f3a (patch) | |
tree | d07e517be7550b44a11d24b870d801537285ef70 | |
parent | 62d170b4dca3657854fd36445167ce90b7d4aaed (diff) |
explicitly reformat B:OP amounts from self-service API transactions as 5.44, RT#22763
-rw-r--r-- | FS/FS/ClientAPI/MyAccount.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index b735958cf..09b041d11 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -1026,7 +1026,7 @@ sub validate_payment { { 'cust_main' => $cust_main, #XXX or just custnum?? - 'amount' => $amount, + 'amount' => sprintf('%.2f', $amount), 'payby' => $payby, 'payinfo' => $payinfo, 'paymask' => $cust_main->mask_payinfo( $payby, $payinfo ), |