PayPal Checkout (Orders v2) auto fill billing address

Viewed 1036

I am creating a PayPal Checkout button, is there any way to auto fill the billing address in the Debit or Credit Card form?

see screenshot

My current code:

  paypal.Buttons({
    createOrder: function(data, actions) {
                  return actions.order.create({
            purchase_units: [{
          amount: {
            value: '1'
          }
    }],
      });
    }
  }).render('#paypal-button-container');

1 Answers
Related