Build a customized Log In with PayPal button
Generated snippet
Test the generated button. Once it works to your satisfaction, copy the generated HTML code snippet from below and paste it into your site.
<span id="lippButton"></span>
Required fields are missing or malformed.
For recommendations on where to place this button on your site, see the Log In with PayPal button placement best practices and recommendations.
To understand how the Log In with PayPal button should work, see the user experience flow — what the customer should see after clicking the Log In with PayPal button.
Parameters
If you would like to modify the generated JavaScript button code, refer to the parameter table below.
appid | Application ID (Client ID from creating your PayPal app). Note: The terms application id and client id are used interchangeably. |
---|---|
authend | (optional) Authorization Server URL: Pass sandbox for the test environment, otherwise, for live, leave blank or do not pass. |
scopes | Profile information requested (available scopes) |
locale | Language and country specifier |
theme | (optional) Button styling: PayPal blue or neutral |
returnurl | Page to return to after successful login |
For additional integration steps, see the Log In with PayPal integration guide.