reactjs – Render paypal into existing button

I am integrating paypal into my website. I followed instructions on their documentation and everything is working fine except part that I must use paypal button for rendering.
So is it possible to render paypal on my existing button instead of creating new one?

 async function showPaypal(values, order) {
    
         let chargeamount= numformat((Number(user.deliverycost)))
      

        setShowpaypal(true)

        window.paypal.Buttons({
            createOrder: function (data, actions) {
                // This function sets up the details of the transaction, including the amount and line item details.
                return actions.order.create({
                    purchase_units: ({
                        amount: {
                            value: chargeamount
                        }
                    })
                });
            },
            onApprove: function (data, actions) {
                // This function captures the funds from the transaction.
                
                return actions.order.capture().then(async function (details) {
                    // This function shows a transaction success message to your buyer.

                     navigate("/done?order=" + order);

                    // alert('Transaction completed by ' + details.payer.name.given_name);
                });
            }
        }).render('#paypal-button-container');

    }

Then I want to render it when user click on pay button

 <Button
                    className="primary-button"
                    variant="contained"
                    type="submit"
                    size="medium"
                    color="primary"
                    style={{height: "60px"}}
                   id="paypal-button-container"
                >
                      Pay
          </Button>

I have error

Error: Do not render the PayPal button into a button element

But I strictly want to use this button for calling paypal, is it possible to overcome this error but to still use this button for paying?

CPanel® Hosting for – 0.75$/month – SSL, Whitelabel, Softaculous – 50% Discount- Paypal, CC, BTC | Proxies-free

Host Mayo is a powerful & affordable SSD Web Hosting provider since 2015. Over the span of last few years we have expanded our product range to cover all hosting products ranging from simple web hosting to enterprise level VPS and dedicated servers. We offer exceptional customer support and guarantee 99% uptime.

All our hosting plans come loaded with following features:

  • Free SSL
  • CloudLinux
  • CPanel/WHM
  • MariaDB (MySQL)
  • Pure SSD storage
  • Private Name Servers
  • Free cPanel Migration
  • 24/7 Technical Support
  • NodeJS & Multiple PHPs
  • Fully White Label Server
  • FREE cPanel/WHM Migration
  • Softaculous Auto Installer
  • One Click WordPress Installer
  • 1GB RAM, 5MB/s IO, 50 Processes

☁ Exclusive Offer!!

Special Offer For Members and Guests! Select any plan and enjoy 50% Recurring Discount!
Promotional Code: extreme

Use coupon on checkout page!

☁ Starter Plan – $6Year OR 0.75$/Month

  • 1 GB Disk Space
  • Unlimited Bandwidth
  • 1 Domain
  • 10 Sub Domains
  • 10 Email Accounts
  • 10 MySQL Databases
  • 10 FTP Accounts
  • More Info | Order Now

☁ Economy Plan – $15/Year OR 1.5$Month

  • 5 GB Disk Space
  • Unlimited Bandwidth
  • 5 Domains
  • Unlimited Sub Domains
  • Unlimited Email Accounts
  • Unlimited MySQL Databases
  • Unlimited FTP Accounts
  • More Info | Order Now

☁ Professional Plan – $20/Year OR 2$/Month

  • 15 GB Disk Space
  • Unlimited Bandwidth
  • Unlimited Domains
  • Unlimited Sub Domains
  • Unlimited Email Accounts
  • Unlimited MySQL Databases
  • Unlimited FTP Accounts
  • More Info | Order Now

☁ Enterprise Plan – $25/Year OR 2.5$/Month

  • 25 GB Disk Space
  • Unlimited Bandwidth
  • Unlimited Domains
  • Unlimited Sub Domains
  • Unlimited Email Accounts
  • Unlimited MySQL Databases
  • Unlimited FTP Accounts
  • More Info | Order Now

☁ Corporate Plan – $30/Year OR 3$/Month

  • 50 GB Disk Space
  • Unlimited Bandwidth
  • Unlimited Domains
  • Unlimited Sub Domains
  • Unlimited Email Accounts
  • Unlimited MySQL Databases
  • Unlimited FTP Accounts
  • More Info | Order Now

☁ Conglomerate Plan – $35/Year OR 3.5$/Month

  • 100 GB Disk Space
  • Unlimited Bandwidth
  • Unlimited Domains
  • Unlimited Sub Domains
  • Unlimited Email Accounts
  • Unlimited MySQL Databases
  • Unlimited FTP Accounts
  • More Info | Order Now

WHM/Cpanel Reseller Hosting
The 50% Recurring coupon “extreme” is also applicable on our reseller plans.

Review CPanel Hosting Features Now!​

Payment Methods
We accept PayPal, Credit Card, BitCoins, LTC, BCH & ETH other cryptocurrencies.

Reviews
Hosting Reviews: https://hostmayo.com/reviews-awards

Connect with US
If you have any questions, please feel free to contact us at (email protected) or you can Skype us @ hostmayo
Follow Us Tweeter @hostmayo || Facebook HostMayoServers – Hosting Affiliate Program

WINDOWS RDP (From 4.9$)- Lifetime OFF – ⚡️DDOS Protected⚡️ – Paypal, CC, Bitcoins | Proxies-free

Host Mayo offers Windows RDP with advance features like instant upgrades, DDOS protection, Gigabit Uplink and SSD Storage. We have been in business since 2015. Over the span of last few years we have expanded our product range from simple web hosting to enterprise level VPS and dedicated servers. We offer exceptional customer support and guarantee 99% uptime.

☁ 30% Recurring Discount OFFER!

Select any plan and enjoy 30% Recurring Discount!
Coupon Code: coco

☁ 1GM RAM VPS – 7$/mo or 84$/year 4.9$/mo or 58.8$/year

☁ 2GM RAM – 12$/mo or 144$/year 8.4$/mo or 100.8$/year
☁ 3GM RAM VPS – 17$/mo or 204$/year 11.9$/mo or 142.8$/year

☁ 4GM RAM VPS – 22$/mo or 264$/year 15.4$/mo or 184.8$/year

☁ 8GM RAM VPS- 37$/mo or 444$/year 25.9$/mo or 310.8$/year

Specification

  • Intel Xeon CPU
  • Pure SSD storage
  • KVM Virtualization
  • Test IP: 5.253.86.28
  • Unlimited OS reinstall
  • Virtualizor Control Panel
  • Location Netherlands
  • Additional IPv4 available for 1$ per month
  • Windows 2008r2, 2012r2, 2016, 2019 (Unlicensed)

Payment Methods
We accept PayPal, Credit Card, BitCoins, LTC, ETH.

Connect with US
If you have any questions, please feel free to contact us at (email protected)
Follow Us Tweeter @hostmayo || Facebook HostMayoServers

Windows VPS
Get NVME Licensed Windows VPS/RDP plans.

 

Paypal 1 Cents Transfer – for “Transfering Funds”

Is their anyone who can transfer me just 0.01$ i.e. (1 Cents to my account) in paypal…

I am unable to get the option of “Transfer Funds” in my Paypal account as their is no amount in it. And I want to transfer funds from My Bank account to the Paypal Account..
SEMrush

So, if I get the 1 Cent in the account, that can give me a starter to do the job. or if their is anyother way out for it.. Please let me know that too..

I need your guys urgent help in this matter..

My Paypal is

 

fraud – False PayPal regarding new phone number message?

I have just received a message from a false PayPal email account – service@paypal.com (looks genuine, but it is NOT) – with the message “You added new phone number to your account”.

Only I didn’t do that recently and the phone number in the email is not mine.

Here is a screenshot:

enter image description here

The email does not even have the footer information that genuine PayPal info have, starting with:

“Copyright © 1999-2020 PayPal. All rights reserved.”

Further more, clicking on the link in the email navigates to diagnolita.lt!!!

So, watch out for this, everyone, it is a fraud, by all appearances.