Embed the Log In with PayPal button manually

Note: You can use the dynamic JavaScript button builder instead of manually embedding the login button.

The Log In with PayPal button integration consists of two components:

  1. The Log In with PayPal button image that will be displayed on the merchant's website.
  2. The authorization endpoint and the parameters passed to it. Customers are forwarded to this endpoint after clicking on the button.

Log In with PayPal button


Embed the Log In with PayPal button image

To make sure you always display the most current Log In with PayPal button, use the following URL for the button image location:

https://www.paypalobjects.com/webstatic/en_US/developer/docs/lipp/loginwithpaypalbutton.png

Note: If you download the button image and host it on your server, the button image might become out of sync with any updates made by PayPal.


Specify the authorization endpoint and parameters

When a user clicks the button, initiate the login process by forwarding the user to the authorization endpoint. Use the authorization endpoint and parameters described in the obtaining the user's consent integration step.

PayPal recommends that you open a mini-browser window that is 400px wide by 550px high for the Log In with PayPal window. For more information, see the Log In with PayPal button placement best practices.


Additional information