Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

421
Vistas
How do i get a "Login with Paypal" button to show up in a React App

Preface: I have 1 day of experience playing around with React.

Using this source code from a tutorial, which is set up to login with google. https://github.com/The-Tech-Tutor/spring-react-login

I want to add the "Login with Paypal" button to the Login.js page.

This is what PayPal generates for me.

<span id='lippButton'></span>


<script src='https://www.paypalobjects.com/js/external/api.js'></script>


<script>
paypal.use( ['login'], function (login) {
 login.render ({
   "appid":"sdfgaesdfgrfed",
   "scopes":"openid",
   "containerid":"lippButton",
   "responseType":"code",
   "locale":"en-us",
   "buttonType":"LWP",
   "buttonShape":"pill",
   "buttonSize":"lg",
   "fullPage":"false",
   "returnurl":"http://localhost:3000/profile"
 });
});
</script>

How do I get this third party js to work with React?

Thank you.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda