Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

205
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!