I set the following option to true in the admin portal:
Store -> Configuration -> Sales -> Payment Methods -> PayPal -> Display on Product Details Page
After this, the pay button did not appear.
I set the following option to true in the admin portal:
Store -> Configuration -> Sales -> Payment Methods -> PayPal -> Display on Product Details Page
After this, the pay button did not appear.