Is there any option, when creating a payment with Paypal API, that allows to remove a "Ship to" section from Checkout popup? I mean just not to displayit in popup.
I do not use a shipping_address
option anywhere in payment_json
object when creating a configuration for a payment. But the section still persists.
You need to use Payment Experience API.
Create new web_profile, and set presentation with
"no_shipping": 1,
"address_override": 0