question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[QUESTION] multiple paypal buttons on 1 page

See original GitHub issue

To Do First

  • Take a look in the README
  • Take a look in the docs

Ask your Question Is it possible to have multiple<PayPalButton> on 1 page? From what I experience, only 1 will appear

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Luehangcommented, Aug 15, 2019

Hi guys,

Having multiple buttons on a single page will work. Already been done. You guys should give it a go and try it for yourself.

0reactions
ghostcommented, Nov 12, 2020

You can’t have multiple buttons with different settings.

I’m facing a situation where my SPA website needs a button for a subscription and a button for an order, it doesn’t seem to be possible so far.

Yup, this is still not possible easily. Two subscriptions or multiple orders are fine, but mixing the two gives following error:

Uncaught Error: Do not pass both createSubscription and createOrder

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple PayPal Smart Buttons on one page - Stack Overflow
Try to load the script only once as suggested by Preston PHX. If it did not work, then load the library twice but...
Read more >
Multiple Smart Buttons code in one Page - PayPal Community
Hello PayPal Community, I'm writing to seek your expertise because I`m trying to integrate three Paypal Smart Payment buttons on one page.
Read more >
Failure of multiple PayPal buttons on one page
I've tried twice through 2 diferent contact approaches. They say it's a known problem and they blame PayPal. I also admin sites on...
Read more >
Multiple subscription buttons - PayPal Developer
Create multiple subscribe buttons on your website ... plan from multiple plans that are available on a single page of your website.
Read more >
Multiple Checkout with PayPal Buttons? - BigCommerce Support
It looks like you are set up correctly - there should only be one Paypal button based on the screenshot of your payment...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found