How to make billing address optional in PayPal SmartButton credit/Debit card dialog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have integrated PayPal smartbutton using javascript sdk. Everything works fine with the payments. However, our customers are asked to key in phone number and address when paying by Creadit/Debit card (they don't have paypal account). Since our's is digital goods (nothing physical), I want to make phone number and address optional for our customers. I have tried to find documentation for that without any success!
Ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @Vid2023,
Thank you for posting to the PayPal community.
Completely understand the trouble.
Unfortunately, merchants can't disable/remove "billing address" from Debit/Credit card (PayPal Smart button).
This is expected behaviour of the product.
Merchant can able to disable/remove "Shipping address" details.
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...
If your still facing issues, please create a MTS ticket via - https://www.paypal-support.com/s/?language=en_US with detailed information and error details.
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.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Remove PayPal Pay Later option from paypal checkout page. in PayPal Upgrade Community
- PayPal Buttons in PayPal Payments Standard
- Need Help Upgrading to PayPal complete payments in PayPal Upgrade Community
- Guest Checkout still requires customers to create account at the end in PayPal Payments Standard
- PayPal recurring payments doesn't show balance option in REST APIs