I need to change the text to my own. help me pls. in what file i can edit it? vendor/magento/module-paypal/view/frontend/web/template/payment/ i tryed to change here, but nothing new on page (after changes i flush magento cash for sure) What function and in which file causes this message to the page? Many thanks!!!
The text you mentioned is available under Magento_Paypal module's KO html Templates files.
If you like to change the Text you mentioned by editing Ko HTML templates files, please go through the files mentions below. Depending on the Paypal method, any of the below mention KO HTML files will be used.
It depends on which paypal payment method you have configured in backend. By default there are 4 templates in which you can find the text you want to change and they are as below:
So, You can override this files in your theme
app/design/frontend/VendorName/ThemeName/Magento_Paypal/web/template/payment/ for text change.
As these are KO templates, you must need to flush magento cache and clear static content files and deploy content again.