Embed the Connect with PayPal Button Manually

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

The Connect with PayPal button integration consists of two components:

  1. The Connect 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.

Connect with PayPal button

Embed the Connect with PayPal button image

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

https://www.paypalobjects.com/webstatic/en_US/developer/docs/login/connectwithpaypalbutton.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 get the user's consent integration step.

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

Additional information

Feedback