Shipping address for credit card payments through PayPal

WBK1
Contributor
Contributor

We have PayPal buttons rendered through PayPal's code. The problem is that when a customer places an order and chooses to change their delivery address through PayPal we do not receive this shipping address only the confirmed billing address.

 

Is there some kind of bug that does not allow a different shipping address to the billing address through the PayPal interface?

Login to Me Too
1 REPLY 1

MTS_Chiranjeevi
Moderator
Moderator

Good day @WBK1,

 

Thank you for contacting PayPal community.

 

Our sincere apologies for the inconvenience caused.

 

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 "GET_FROM_FILE" or "SET_PROVIDED_ADDRESS". 

 

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 "0" or "2" in your SetExpressCheckoutRequest API call. 

 

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 "0" or "2".

 

no_shipping

Do not prompt buyers for a shipping address.

Valid value is:

  • 0. Prompt for an address, but do not require one.
  • 1. Do not prompt for an address.
  • 2. Prompt for an address and require one.

 

Guide link - https://developer.paypal.com/api/nvp-soap/paypal-payments-standard/integration-guide/Appx-websitesta...

 

Thank you so much for your patience and understanding.

 

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.

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.