Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

206
Visualizações
Make Paypal button redirect instead of opening a popup

I'm currently adding a Paypal button as a new payment method alongside credit card payments with Stripe. I'm using the module @paypal/paypal-js to render the paypal.Buttons as explained [in the documentation][1].

payPal.Buttons({
  style: {
    layout: 'horizontal',
    color: 'gold',
    tagline: false,
  },
  createOrder(_data, actions) {
    // ...
  },
})

It's working as expected. The only issue I'm having is the fact that it always opens Paypal in a popup window instead of redirecting the current browser tab. It's a strange user experience on desktop and I would rather redirect and come back to my website once the payment is confirmed (or cancelled).

Does anyone know if it is possible? I couldn't find the information in the documentation...

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda