cancel
Showing results for 
Search instead for 
Did you mean: 

Need to remove "ship to my billing address" checkmark on Paypal Checkout payment page!

Contributor

Need to remove "ship to my billing address" checkmark on Paypal Checkout payment page!

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.

1 REPLY 1
Contributor

Re: Need to remove "ship to my billing address" checkmark on Paypal Checkout payment page!

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