added item quantity
This commit is contained in:
@@ -29,7 +29,7 @@ class PaypalController extends Controller
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$paypal_env = "live";
|
||||
$paypal_env = "sandbox";
|
||||
$paypal_apiUrl = 'https://api.paypal.com'; // default
|
||||
|
||||
if($paypal_env == 'live'){
|
||||
|
||||
@@ -364,7 +364,8 @@ class UserController extends Controller {
|
||||
'PrivacyStatus' => $post['item_privacy'],
|
||||
'ProductForm' => $post['itemForm'],
|
||||
'AvailableSizes' => implode(",", $post['available_size']),
|
||||
'ShippingCostId' => $shipping_cost_id
|
||||
'ShippingCostId' => $shipping_cost_id,
|
||||
'ProductAvailableQty' => ($post['item_quantity'] == 0) ? null : $post['item_quantity']
|
||||
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user