Embed the Log In with PayPal button manually
The Log In with PayPal button integration consists of two components:
- The Log In with PayPal button image that will be displayed on the merchant's website.
- The authorization endpoint and the parameters passed to it. Customers are forwarded to this endpoint after clicking on the 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:
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.