Closed (fixed)
Project:
Ubercart Netbanx integration
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Jul 2010 at 19:26 UTC
Updated:
20 Sep 2010 at 09:13 UTC
When VAT was added to an order, the amount was wrong and caused a Netbanx error. I added a round() to fix it.
'nbx_payment_amount' => round($order->order_total * variable_get('uc_netbanx_currency_factor', 100)),
The amount I was previously getting was 1420.55 instead of 1421.
No time to patch, I'm afraid! Sorry!
Comments
Comment #1
alarcombe commentedFixed in HEAD