I\'m integrating the Smart Payment Buttons in the paypal checkout
You need to set shipping_type parameter 'PICKUP':
paypal.Buttons({
createOrder: function(data, actions) {
return actions.order.create({
shipping_type: 'PICKUP',
application_context: { shipping_preference: 'NO_SHIPPING' },
purchase_units: [{ amount: { value: 99.00 } }]
});
},
onApprove: function(data, actions) {}
}).render(button);