diff --git a/app/Http/Controllers/OnlinePaymentController.php b/app/Http/Controllers/OnlinePaymentController.php index 0ca2436875..696a4c6736 100644 --- a/app/Http/Controllers/OnlinePaymentController.php +++ b/app/Http/Controllers/OnlinePaymentController.php @@ -363,10 +363,10 @@ class OnlinePaymentController extends BaseController 'notes' => $product->notes, 'cost' => $product->cost, 'qty' => 1, - 'tax_rate1' => $account->tax_rate1, - 'tax_name1' => $account->tax_name1 ?: '', - 'tax_rate2' => $account->tax_rate2, - 'tax_name2' => $account->tax_name2 ?: '', + 'tax_rate1' => $product->tax_rate1, + 'tax_name1' => $product->tax_name1 ?: '', + 'tax_rate2' => $product->tax_rate2, + 'tax_name2' => $product->tax_name2 ?: '', 'custom_value1' => Input::get('custom_product1') ?: $product->custom_value1, 'custom_value2' => Input::get('custom_product2') ?: $product->custom_value2, ]],