Well I'm creating a form with the Stripe payment gateway in Laravel named after Laravel Cashier, and the point is that in the form there is a input text
, which has a placeholder with the following: ' Card Number ' is correct but I want to change it to English, and it is that by default the rest comes in English, only that one was put in Spanish.
I have it in my blade view, the point is that all that content is loaded in a div( card-element ), and only with the element inspector do I have access to see the HTML nodes:
Blade view:
<input id="card-holder-name" type="text">
<!-- Aquí carga todo el formulario -->
<div id="card-element"></div>
<button id="card-button" data-secret="{{ $intent->client_secret }}">
Update
Payment Method
And well, as you can see, I don't have access from my HTML, everything is concentrated in that div, and inside that there is an iframe; Here I am attaching this image, of the HTML examined with the inspector, try to copy the code showing the source code, but the content is not displayed;
This is because Stripe Elements takes your browser's preferred language. If your browser language is English, then the field will appear in English.