Disabling shipping address by application context -> shipping_preference as NO_SHIPPING not working

neelima_fino
Contributor
Contributor

actions.order.create({
purchase_units: [{
amount: {
value: amount
}
}],
application_context: {
shipping_preference: 'NO_SHIPPING'
}

});

 

After using the above code it still shows shipping address forms. How to hide shipping address details??

Login to Me Too
1 REPLY 1

Ricci007
Contributor
Contributor

deleted

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.