I'm trying to override this template:
vendor/stripe/module-payments/view/frontend/web/template/payment/form.html
with
app/design/frontend/Vendor/Theme/Magento_Checkout/web/template/payment/form.html
But it doesn't work. What might be a problem?
I am not sure but try this way :-
app/design/frontend/VendorName/themename/YourModule_Name/web/template/payment/form.html After this run command:
php bin/magento setup:upgrade
THANKS.
Override file on below path
app/design/frontend/Vendor/Theme/YourModule_Name/frontend/web/template/payment/form.html
And run below command:
php bin/magento setup:upgrade
Hope this help you.
For future people looking for an answer, first check how it's registered in the original module file 'registration.php' and then you can save it correctly inside your theme with that name.
vendor/stripe/module-payments/view/frontend/web/template/payment/form.html
app/design/frontend/Vendor/Theme/StripeIntegration_Payments/web/template/payment/form.html
and run php bin/magento setup:upgrade
After a few hours I realized that editing it in Magento_Checkout wasn't correct. The correct path was:
app/design/frontend/Vendor/Theme/StripeIntegration_Payments/web/template/payment/form.html