// deprecated function replaced
This commit is contained in:
@@ -264,7 +264,7 @@ abstract class PaymentModuleCore extends Module
|
|||||||
$price_wt = Product::getPriceStatic((int)($product['id_product']), true, ($product['id_product_attribute'] ? (int)($product['id_product_attribute']) : NULL), 2, NULL, false, true, $product['cart_quantity'], false, (int)($order->id_customer), (int)($order->id_cart), (int)($order->{Configuration::get('PS_TAX_ADDRESS_TYPE')}));
|
$price_wt = Product::getPriceStatic((int)($product['id_product']), true, ($product['id_product_attribute'] ? (int)($product['id_product_attribute']) : NULL), 2, NULL, false, true, $product['cart_quantity'], false, (int)($order->id_customer), (int)($order->id_cart), (int)($order->{Configuration::get('PS_TAX_ADDRESS_TYPE')}));
|
||||||
|
|
||||||
/* Store tax info */
|
/* Store tax info */
|
||||||
$id_country = (int)Country::getDefaultCountryId();
|
$id_country = (int)$context->country->id;
|
||||||
$id_state = 0;
|
$id_state = 0;
|
||||||
$id_county = 0;
|
$id_county = 0;
|
||||||
$rate = 0;
|
$rate = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user