I did a print of the variable $order->info and it can be clearly seen that total is coming as zero
//Added the following code in responsehandler.php before the if loop
file_put_contents('sample123.txt', serialize($order->info));
Code:
a:16:{s:12:"order_status";s:1:"1";s:8:"currency";s:3:"USD";
s:14:"currency_value";s:10:"1.00000000";s:14:"payment_method";
N;s:19:"payment_module_code";N;s:11:"coupon_code";N;
s:15:"shipping_method";N;s:20:"shipping_module_code";N;
s:13:"shipping_cost";N;s:8:"subtotal";i:0;s:12:"shipping_tax";
i:0;s:3:"tax";i:0;s:5:"total";i:0;s:10:"tax_groups";a:0:{}s:8:"comments";
s:0:"";s:10:"ip_address";s:29:"74.125.64.113 - 74.125.64.113";}
Can someone help
Bookmarks