conflict paypal api javascript with user agent Mozilla/5.0 Google

JavaScript
//You must to update the PayPal script to the new URL with SDK
//all documentation with the upgrade in
//https://developer.paypal.com/docs/checkout/reference/upgrade-integration/
<script src="https://www.paypal.com/sdk/js?client-id=YOUR_CLIENT_ID"></script>

Source

Also in JavaScript: