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

241
Vistas
Redirect user on form submit after API response in the background

I am not sure how it can be done.

What I am trying to do is.

I have a Paypal subscription form.

when a user clicks on Subscribe, An Ajax call is made to Paypal API and an authorization token is obtained.

Now I want to redirect the user/customer to Paypal after the token is received to complete the subscription with the authorization token.

Now my question is I can make the ajax call and get the response,

But after that how I can redirect the customer to paypal alongwith urlencoded-data is the question.

Update

The second request will be like this which should redirect to Paypal at the same time.

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=InsertTokenHere

over 4 years ago · Santiago Trujillo
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