how to check if the paypal script is loaded javascript code example
Example: paypal vanilla js sdk
<script src="https://www.paypal.com/sdk/js?client-id=YOUR_CLIENT_ID"></script>
htmlcopy
<script src="https://www.paypal.com/sdk/js?client-id=YOUR_CLIENT_ID"></script>
htmlcopy