[freeside-commits] branch FREESIDE_3_BRANCH updated. 26d0d6c431a941d966caf00783d3d398b8816f3a

Ivan ivan at 420.am
Wed Oct 23 14:46:00 PDT 2013


The branch, FREESIDE_3_BRANCH has been updated
       via  26d0d6c431a941d966caf00783d3d398b8816f3a (commit)
      from  62d170b4dca3657854fd36445167ce90b7d4aaed (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 26d0d6c431a941d966caf00783d3d398b8816f3a
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Oct 23 14:46:00 2013 -0700

    explicitly reformat B:OP amounts from self-service API transactions as 5.44, RT#22763

diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index b735958..09b041d 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 ),

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/ClientAPI/MyAccount.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list