Todos los envíos son manejados por Mercado Envíos y llevados por DHL para tu mayor seguridad

require_once (‘mercadopago.php’);

$mp = new MP(‘1431918189960943’, ‘7o4vE8sGtASq40KJi7wxMmgiG8AuoEaV’);

$preference_data = array(
“items” => array(
array(
“title” => “Multicolor kite”,
“quantity” => 1,
“currency_id” => “MXN”, // Available currencies at: https://api.mercadopago.com/currencies
“unit_price” => 10.00
)
),
“shipments” => array(
“mode” => “me2”,
“dimensions” => “30x30x30,500”,
“local_pickup” => true,
“free_methods” => array(
array(
“id” => 501245
)
),
“default_shipping_method” => 501245,
“zip_code” => “22615”
)
);

$preference = $mp->create_preference($preference_data);