So I\'ve checked https://developer.paypal.com/docs/business/checkout/set-up-standard-payments/ and I see that the buttons perform everything on the client side using JavaScr