I need to load the PayPal Buttons into a site with a userscript using javascript

Job ID: 32209490

Budget: $50 – $51 USD

paypal business accounts have the option to add paypal smart buttons into websites, which is a payment processor to allow clients to pay to that paypal business account using payment methods like paypal, credit cards, bank transfer. so paypal give you a code for you to paste into your website that will make the paypal checkout appear. i attached the picture of the paypal buttons. this is the code paypal provides you to paste into your website:

<script src="https://www.paypal.com/sdk/js?client-id=test"></script>
<script>paypal.Buttons().render('body');</script>

my problem is that i need to add the paypal checkout buttons through an userscript using code, after the page is loaded. so that i can make the paypal buttons appear on a site. and i could not find a way to do that.