keviny Posted April 20, 2005 Share Posted April 20, 2005 I am only posting this for anyone haveing the same problems I had. I hacked mine to do what I needed as below, I will add to the contribution if needed. Thanks piotrekkaminski for your contribution. 1 problem 1 suggestion Orders over 1000.00 will be rejected as they include the comma in the value passed to cybersource (ex: 1,000.00 should be 1000.00) My quick fix was in modules/payment/cyberource.php around line 163: changed: tep_draw_hidden_field('X_Amount', number_format($order->info['total'],2)); to: tep_draw_hidden_field('X_Amount', number_format($order->info['total'],2,'.','')) The module is hard coded to automatically capture funds, this is bad for people who don't ship the same day the order is placed. Probably in the admin this should be an option but as a quck fix. line 173: changed: 'ics_applications'=>'ics_auth,ics_bill', to: 'ics_applications'=>'ics_auth', Quote Link to comment Share on other sites More sharing options...
Guest Posted April 21, 2005 Share Posted April 21, 2005 Thanks for the tip! Too many of us neglect to post solutions when we figure out the solution on our own. -jared Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.