[Skip to main content](#vessel-content)

#   Disable shipping from Paypal Checkout

##

- **[Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")**
- [![Pierrick's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/69734-pierrick "View Pierrick's Profile") Topic Author
- [ Offline](/forum/user/69734-pierrick)

Less More

- Posts: 23
- Thank you received: 3
-
-

3 years 6 months ago [\#351662](#351662) by [Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")  *[Disable shipping from Paypal Checkout](/forum/29-payment-methods/906381-disable-shipping-from-paypal-checkout#351662 "-- HikaShop version -- : 4.7.2  Hello, How can I disable shipping address from PayPal Checkout ? BTW, the doc for paypal checkout is unavailable ? I am selling digital goods and online training. There is therefore no need for Paypal Checkout to display any info about shipping. How can it be disabled ? I found this info :   www.paypal-community.com/t5/Sandbox-Envi...e/m-p/3036781#M10440  Is this implemented in Hikashop plugin ? and if so how can I enter this NO&#95;SHIPPING setting ? Thanks for your help with this.")* was created by *[Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")*

-- HikaShop version -- : 4.7.2

Hello,
How can I disable shipping address from PayPal Checkout ?
BTW, the doc for paypal checkout is unavailable ?
I am selling digital goods and online training. There is therefore no need for Paypal Checkout to display any info about shipping. How can it be disabled ?
I found this info : [ www.paypal-community.com/t5/Sandbox-Envi...e/m-p/3036781#M10440](https://www.paypal-community.com/t5/Sandbox-Environment/How-to-disable-billing-address-shipping-address-to-a-service/m-p/3036781#M10440)
Is this implemented in Hikashop plugin ? and if so how can I enter this NO_SHIPPING setting ?
Thanks for your help with this.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy85MDYzODEtZGlzYWJsZS1zaGlwcGluZy1mcm9tLXBheXBhbC1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

3 years 6 months ago [\#351664](#351664) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Disable shipping from Paypal Checkout](/forum/29-payment-methods/906381-disable-shipping-from-paypal-checkout#351664 "-- HikaShop version -- : 4.7.2  Hello, How can I disable shipping address from PayPal Checkout ? BTW, the doc for paypal checkout is unavailable ? I am selling digital goods and online training. There is therefore no need for Paypal Checkout to display any info about shipping. How can it be disabled ? I found this info :   www.paypal-community.com/t5/Sandbox-Envi...e/m-p/3036781#M10440  Is this implemented in Hikashop plugin ? and if so how can I enter this NO&#95;SHIPPING setting ? Thanks for your help with this.")*

Hi,

Below the line: Code:

$orderData-&gt;application_context = new stdClass();

in the file plugins/hikashoppayment/paypalcheckout/paypalcheckout.php
add the line: Code:

$orderData-&gt;application_context-&gt;shipping_preference = 'NO_SHIPPING';

Please let us know how it goes.

The following user(s) said Thank You: [Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy85MDYzODEtZGlzYWJsZS1zaGlwcGluZy1mcm9tLXBheXBhbC1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")**
- [![Pierrick's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/69734-pierrick "View Pierrick's Profile") Topic Author
- [ Offline](/forum/user/69734-pierrick)

Less More

- Posts: 23
- Thank you received: 3
-
-

3 years 6 months ago [\#351674](#351674) by [Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")  Replied by *[Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")* on topic *[Disable shipping from Paypal Checkout](/forum/29-payment-methods/906381-disable-shipping-from-paypal-checkout#351674 "-- HikaShop version -- : 4.7.2  Hello, How can I disable shipping address from PayPal Checkout ? BTW, the doc for paypal checkout is unavailable ? I am selling digital goods and online training. There is therefore no need for Paypal Checkout to display any info about shipping. How can it be disabled ? I found this info :   www.paypal-community.com/t5/Sandbox-Envi...e/m-p/3036781#M10440  Is this implemented in Hikashop plugin ? and if so how can I enter this NO&#95;SHIPPING setting ? Thanks for your help with this.")*

Works perfectly ! THANK YOU !!
Is there a similar possibility for the phone ?
On my shop preferences on the Paypal website, it is clearly indicated that it should be deactivated (which it is the case in my settings) and yet it is still asked and marked compulsory during the checkout process.
Could this be overridden in the plugin ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy85MDYzODEtZGlzYWJsZS1zaGlwcGluZy1mcm9tLXBheXBhbC1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

3 years 6 months ago [\#351675](#351675) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Disable shipping from Paypal Checkout](/forum/29-payment-methods/906381-disable-shipping-from-paypal-checkout#351675 "-- HikaShop version -- : 4.7.2  Hello, How can I disable shipping address from PayPal Checkout ? BTW, the doc for paypal checkout is unavailable ? I am selling digital goods and online training. There is therefore no need for Paypal Checkout to display any info about shipping. How can it be disabled ? I found this info :   www.paypal-community.com/t5/Sandbox-Envi...e/m-p/3036781#M10440  Is this implemented in Hikashop plugin ? and if so how can I enter this NO&#95;SHIPPING setting ? Thanks for your help with this.")*

Hi,

The phone number requirement during the checkout process can be changed under the Display&gt;Custom fields menu, in the backend of your HikaShop.

The following user(s) said Thank You: [Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy85MDYzODEtZGlzYWJsZS1zaGlwcGluZy1mcm9tLXBheXBhbC1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")**
- [![Pierrick's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/69734-pierrick "View Pierrick's Profile") Topic Author
- [ Offline](/forum/user/69734-pierrick)

Less More

- Posts: 23
- Thank you received: 3
-
-

3 years 6 months ago -  3 years 6 months ago [\#351688](#351688) by [Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")  Replied by *[Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")* on topic *[Disable shipping from Paypal Checkout](/forum/29-payment-methods/906381-disable-shipping-from-paypal-checkout#351688 "-- HikaShop version -- : 4.7.2  Hello, How can I disable shipping address from PayPal Checkout ? BTW, the doc for paypal checkout is unavailable ? I am selling digital goods and online training. There is therefore no need for Paypal Checkout to display any info about shipping. How can it be disabled ? I found this info :   www.paypal-community.com/t5/Sandbox-Envi...e/m-p/3036781#M10440  Is this implemented in Hikashop plugin ? and if so how can I enter this NO&#95;SHIPPING setting ? Thanks for your help with this.")*

Unfortunately, this does not work
But maybe I didn't describe the issue properly, it is during the PayPal checkout process, after the client chose to pay by Card, that the required phone is asked (see the attachments)
Which is why I thought this was possibly something that could be done in Hikashop PayPal Checkout plugin addressing a specific PayPal API setting, similarly to the previous issue with the shipping address

- [ ![CompulsoryPhone.jpg](/forum/attachment/57031) ](/forum/attachment/57031 "...lsoryPhone.jpg") [ ](/forum/attachment/57031?download=1 "...lsoryPhone.jpg")
- [ ![CompulsoryPhone2.jpg](/forum/attachment/57032) ](/forum/attachment/57032 "...soryPhone2.jpg") [ ](/forum/attachment/57032?download=1 "...soryPhone2.jpg")

Last edit: 3 years 6 months ago by [Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy85MDYzODEtZGlzYWJsZS1zaGlwcGluZy1mcm9tLXBheXBhbC1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

3 years 6 months ago [\#351699](#351699) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Disable shipping from Paypal Checkout](/forum/29-payment-methods/906381-disable-shipping-from-paypal-checkout#351699 "-- HikaShop version -- : 4.7.2  Hello, How can I disable shipping address from PayPal Checkout ? BTW, the doc for paypal checkout is unavailable ? I am selling digital goods and online training. There is therefore no need for Paypal Checkout to display any info about shipping. How can it be disabled ? I found this info :   www.paypal-community.com/t5/Sandbox-Envi...e/m-p/3036781#M10440  Is this implemented in Hikashop plugin ? and if so how can I enter this NO&#95;SHIPPING setting ? Thanks for your help with this.")*

Hi,

HikaShop will send the billing address data to PayPal Checkout as long as you didn't remove the "address" view from your checkout workflow, and thus these fields will be prefilled automatically for the customer.
But if you remove the address in HikaShop, then the plugin can't provide the information to PayPal and the customer will have to enter it in the PayPal interface if PayPal deems it as necessary.
I don't think there is any setting in the API to control that from the plugin side, or even from your PayPal merchant account.
I suppose the billing address is required for tax declarations on PayPal's side and thus they have to ask it (and maybe you should too if that's not the case ?). The best would be to check with the PayPal support. Maybe they have a trick I don't know about.

The following user(s) said Thank You: [Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy85MDYzODEtZGlzYWJsZS1zaGlwcGluZy1mcm9tLXBheXBhbC1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")**
- [![Pierrick's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/69734-pierrick "View Pierrick's Profile") Topic Author
- [ Offline](/forum/user/69734-pierrick)

Less More

- Posts: 23
- Thank you received: 3
-
-

3 years 5 months ago -  3 years 5 months ago [\#351922](#351922) by [Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")  Replied by *[Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")* on topic *[Disable shipping from Paypal Checkout](/forum/29-payment-methods/906381-disable-shipping-from-paypal-checkout#351922 "-- HikaShop version -- : 4.7.2  Hello, How can I disable shipping address from PayPal Checkout ? BTW, the doc for paypal checkout is unavailable ? I am selling digital goods and online training. There is therefore no need for Paypal Checkout to display any info about shipping. How can it be disabled ? I found this info :   www.paypal-community.com/t5/Sandbox-Envi...e/m-p/3036781#M10440  Is this implemented in Hikashop plugin ? and if so how can I enter this NO&#95;SHIPPING setting ? Thanks for your help with this.")*

Sorry I didn't replay earlier
Actually, the problem is not the address, although what your said makes sense.
The procedure you gave me earlier removed the address; My problem is with the phone.
Paypal checkout is asking for the phone even though in paypal policy it is clearly stated to avoid asking for the phone, especially for digital goods.
Therefore in my Paypal merchant account settings preferences, I configured it to not ask for the phone as advised by Paypal itself.
Yet Paypal checkout plugin ask for the phone ? (as shown in my previous message screen captures)

=&gt; [ stackoverflow.com/questions/21765117/tur...pal-express-checkout](https://stackoverflow.com/questions/21765117/turn-off-mandatory-phone-number-on-paypal-express-checkout)

(I just added a screen shot with my Paypal merchant phone settings)

- [ ![phone-settings-Paypal.jpg](/forum/attachment/57091) ](/forum/attachment/57091 "...ngs-Paypal.jpg") [ ](/forum/attachment/57091?download=1 "...ngs-Paypal.jpg")

Last edit: 3 years 5 months ago by [Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy85MDYzODEtZGlzYWJsZS1zaGlwcGluZy1mcm9tLXBheXBhbC1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

3 years 5 months ago [\#351931](#351931) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Disable shipping from Paypal Checkout](/forum/29-payment-methods/906381-disable-shipping-from-paypal-checkout#351931 "-- HikaShop version -- : 4.7.2  Hello, How can I disable shipping address from PayPal Checkout ? BTW, the doc for paypal checkout is unavailable ? I am selling digital goods and online training. There is therefore no need for Paypal Checkout to display any info about shipping. How can it be disabled ? I found this info :   www.paypal-community.com/t5/Sandbox-Envi...e/m-p/3036781#M10440  Is this implemented in Hikashop plugin ? and if so how can I enter this NO&#95;SHIPPING setting ? Thanks for your help with this.")*

Hi,

There are several things:
- By default, HikaShop will have a phone number field in each billing/shipping address. This can be controlled in the Display&gt;Custom fields menu.
- Many payment plugins will send the value entered in that address field to the payment gateway as it is required by the payment gateway. However, it is not the case with PayPal Checkout and the plugin doesn't send the phone number even if provided by the customer in his address.
- Similarly, PayPal Checkout's API doesn't have any parameter to activate / deactivate asking for the phone number on the credit card form. This is completely controlled by PayPal. Why would PayPal not honor the setting you pointed at in the merchant account is something I can't answer. You need to check with PayPal's support as I was saying previously.

The following user(s) said Thank You: [Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy85MDYzODEtZGlzYWJsZS1zaGlwcGluZy1mcm9tLXBheXBhbC1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")**
- [![Pierrick's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/69734-pierrick "View Pierrick's Profile") Topic Author
- [ Offline](/forum/user/69734-pierrick)

Less More

- Posts: 23
- Thank you received: 3
-
-

3 years 5 months ago -  3 years 5 months ago [\#352051](#352051) by [Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")  Replied by *[Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile")* on topic *[Disable shipping from Paypal Checkout](/forum/29-payment-methods/906381-disable-shipping-from-paypal-checkout#352051 "-- HikaShop version -- : 4.7.2  Hello, How can I disable shipping address from PayPal Checkout ? BTW, the doc for paypal checkout is unavailable ? I am selling digital goods and online training. There is therefore no need for Paypal Checkout to display any info about shipping. How can it be disabled ? I found this info :   www.paypal-community.com/t5/Sandbox-Envi...e/m-p/3036781#M10440  Is this implemented in Hikashop plugin ? and if so how can I enter this NO&#95;SHIPPING setting ? Thanks for your help with this.")*

Could it be because of this ?

> Préférences de site marchand
> Ces paramètres affecteront uniquement les boutons PayPal intégrés à l'aide de l'un de nos sites partenaires de confiance.

This is written in the section with Paypal settings to activate or deactivate the phone.

I'll try to contact them as you suggested.

Last edit: 3 years 5 months ago by [Pierrick](/forum/user/69734-pierrick "View Pierrick's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy85MDYzODEtZGlzYWJsZS1zaGlwcGluZy1mcm9tLXBheXBhbC1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

3 years 5 months ago [\#352053](#352053) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Disable shipping from Paypal Checkout](/forum/29-payment-methods/906381-disable-shipping-from-paypal-checkout#352053 "-- HikaShop version -- : 4.7.2  Hello, How can I disable shipping address from PayPal Checkout ? BTW, the doc for paypal checkout is unavailable ? I am selling digital goods and online training. There is therefore no need for Paypal Checkout to display any info about shipping. How can it be disabled ? I found this info :   www.paypal-community.com/t5/Sandbox-Envi...e/m-p/3036781#M10440  Is this implemented in Hikashop plugin ? and if so how can I enter this NO&#95;SHIPPING setting ? Thanks for your help with this.")*

Hi,

It says that these settings will only work if your webite is a partner of PayPal. So if the phone number setting is under this section, and supposing you're not a partner of PayPal, it would make sense these settings do not do anything for you.
Of course, PayPal support will be able to better answer you on this.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy85MDYzODEtZGlzYWJsZS1zaGlwcGluZy1mcm9tLXBheXBhbC1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.080 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
