cancel
Showing results for 
Search instead for 
Did you mean: 

How to set shipping_preference: 'SET_PROVIDED_ADDRESS' to NO_ADDRESS?

Options
emykka
New Community Member
Posted on

Hello. I need help with this, I'm selling digital and I don't need the buyer's address. However, everytime I try to check out I receive this message:

 

[UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-MISSING_SHIPPING_ADDRESS

 

I need to change shipping_preference: 'SET_PROVIDED_ADDRESS' to NO_ADDRESS 

 

How can I edit the shipping_preference? Thank you

2 REPLIES 2

How to set shipping_preference: 'SET_PROVIDED_ADDRESS' to NO_ADDRESS?

Options
AE00
New Community Member

Any solutions?

How to set shipping_preference: 'SET_PROVIDED_ADDRESS' to NO_ADDRESS?

Options
Linovy
New Community Member

In case anyone found this unresolved issue and has the same problem:

 

The API Documentation seems to be off.

If you provide an Address like this its working:

 

purchase_units: [{ ........... shipping: { address: { "address_line_1": "<removed>", "address_line_2": "<removed>", "admin_area_2": "San Francisco", "admin_area_1": "CA", "postal_code": "<removed>", "country_code": "US" }, }, }]

 

Haven't Found your Answer?

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