How can i disable shipping info and pay later ?

UsarShakya
Contributor
Contributor

Hello everyone,
I am having problem integrating paypal on my website. 
The problem is: I want to use paypal only for payments but there is option to choose shipping address and pay later. i want o remove these options and i am not getting way out for this. 
It would be great help if anyone can help. Thnk you

Login to Me Too
3 REPLIES 3

kernowlass
Esteemed Advisor
Esteemed Advisor

@UsarShakya 


The option to receive Paypal payments is sadly not available in Nepal.
You can only send payments for purchases funded by your (confirmed) credit card.

Paypal varies a lot country to country and can only offer the services that the banks / governments of that country allow it to offer.
There are quite a few countries unable to receive Paypal payments.

https://www.paypal.com/ga/webapps/mpp/ua/residence-full


Advice is voluntary.
Kudos / Solution appreciated.
Login to Me Too

UsarShakya
Contributor
Contributor
Thank you for quick rply. I am integrating paypal for australia so all transaction would be for australia and I want to disable shipping and pay later option.
Login to Me Too

MTS_Chiranjeevi
Moderator
Moderator

Good day @UsarShakya,

 

Thank you for contacting PayPal community.

 

Our sincere apologies for the inconvenience caused.

 

Yes, you can remove/disable the "Pay Later" funding source from the smart button by passing the "disable-funding=paylater" as below:

< script src=" https://www.paypal.com/sdk/js?client-id=YOUR_CLIENT_ID & disable-funding=paylater" > < / script >

I request to contact your website developer to update the SDK script using the above method.

Please refer to the detailed guide link- https://developer.paypal.com/docs/checkout/reference/customize-sdk/#disable-funding

 

Merchants should be able to handle shipping address details using the "shipping_preference" field in the Orders API request call without any issues. 

 

https://developer.paypal.com/docs/api/orders/v2/#definition-application_context  

 

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.

Minimum length: 1.

 

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.