New to the community? Welcome! Please read our Community Rules and Guidelines
Hello!
I recently started integrating Paypal checkout on my website and still testing in sandbox mode. I would like to remove the "ship to my billing address" checkmark that appears on the checkout page as it is unnecessary for my use case and my confuse my customers. I have not had too much luck on the documentations. Any help would be appreciated.
I found the solution a couple of months later 😛 This is how you do it in JS
paypal.Buttons({ createSubscription: function (data, actions) { return actions.order.create({ ///other stuff , 'application_context': { 'shipping_preference': 'NO_SHIPPING' } }); }, onApprove: function (data, actions) { // ... } }) .render('#paypal-button-container');
Credit: https://stackoverflow.com/a/57650190/8008742
©1999-2021 PayPal, Inc. All rights reserved.