Disable shipping address in payments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i am selling software, when people pay they need to fill in the shipping address, can this be disabled ?
I am using the new payment intergration. when using iDeal it asks for 'Confirm shipping details' but
nothing will be send.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @bazcc,
Thank you for posting to the PayPal community.
To resolve the issue, please follow the below detailed steps & instructions based on your website integration.
1. For REST API integration : You can pass value "NO_SHIPPING" to disable shipping address during checkout.
For digital goods, the payment API request call should be correct value under "Shipping_Preference" field.
shipping_preference : The location from which the shipping address is derived. The possible values are:
- GET_FROM_FILE. Get the customer-provided shipping address on the PayPal site.
- NO_SHIPPING. Redacts the shipping address from the PayPal site. Recommended for digital goods.
- SET_PROVIDED_ADDRESS. Get the merchant-provided address. The customer cannot change this address on the PayPal site. If merchant does not pass an address, customer can choose the address on PayPal pages.
Default: GET_FROM_FILE.
Guide link - https://developer.paypal.com/docs/api/orders/v2/#definition-application_context
2. For NVP API integration, pass the "no_shipping" as "1" in your SetExpressCheckoutRequest API call to disable shipping address during checkout.
NOSHIPPING : Determines whether PayPal displays shipping address fields on the PayPal pages. For digital goods, this field is required, and you must set it to 1.
Value is:
• 0 — PayPal displays the shipping address on the PayPal pages. But do not require one.
• 1 — PayPal does not display shipping address fields and removes shipping information from the transaction.
• 2 — If you do not pass the shipping address, PayPal obtains it from the buyer's account profile. require one.
Guide link - https://developer.paypal.com/docs/classic/api/merchant/SetExpressCheckout-API-Operation-NVP/
3. For "PayPal Payments Standard" legacy button integration, pass the "no_shipping" as "1" to disable shipping address during checkout.
no_shipping | Do not prompt buyers for a shipping address. Valid value is:
|
Guide link - https://developer.paypal.com/api/nvp-soap/paypal-payments-standard/integration-guide/Appx-websitesta...
Sincerely,
Chiranjeevi
PayPal/Braintree MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I currently have this code on my website :
So where do i tell the system not to ask for a shipping addresss ?
<div id="smart-button-container">
<div style="text-align: center;">
<div id="paypal-button-container"></div>
</div>
</div>
<script src="https://www.paypal.com/sdk/js?client-id=AfUXj3KSOkPmcC40IuzhZE1_jJXhEJ_faXlyTOHKU7GDcBO9VwhKdJAGpbdi..." data-sdk-integration-source="button-factory"></script>
<script>
function initPayPalButton() {
paypal.Buttons({
style: {
shape: 'rect',
color: 'gold',
layout: 'vertical',
label: 'paypal',
},
createOrder: function(data, actions) {
return actions.order.create({
purchase_units: [{"description":"Software","amount":{"currency_code":"USD","value":6.95}}]
});
},
onApprove: function(data, actions) {
return actions.order.capture().then(function(orderData) {
// Full available details
console.log('Capture result', orderData, JSON.stringify(orderData, null, 2));
// Show a success message within this page, e.g.
const element = document.getElementById('paypal-button-container');
element.innerHTML = '';
element.innerHTML = '<h3>Thank you for your payment!</h3>';
// Or go to another URL: actions.redirect('thank_you.html');
});
},
onError: function(err) {
console.log(err);
}
}).render('#paypal-button-container');
}
initPayPalButton();
</script>

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Sandbox account collect billing and shipping address in Sandbox Environment
- Selected Shipping Method amount not updating to cart for card payment in SDKs
- Error payment in PayPal Payments Standard
- Why does PayPal make it difficult to send an item to a different shipping address from billing? in PayPal Upgrade Community
- How do I change shipping preference in Paypal? in REST APIs