i've been copying and pasting the first codes from this page : https://stripe.com/docs/stripe-js/elements/quickstart (the html, the css, and the javascript) and I don't understand why, but my card input insn't showing correctly : https://ibb.co/cLPzrzD
错误的英文翻译:“自动输入信用卡号码已被禁用。因为此表单使用的连接不安全”
如果有人知道为什么会出现这个问题,它将对我有很大帮助。非常感谢!
这是我的 html 代码:
<div class="container">
<h2 class="my-4 text-center">Réservation Standard</h2>
<form action="standardSuccessfulPaiement.php" method="POST" id="payment-form">
<div class="form-row">
<input type="text" name="firstName" class="form-control mb-3 StripeElement StripeElement--empty" placeholder="Votre nom">
<input type="text" name="lastName" class="form-control mb-3 StripeElement StripeElement--empty" placeholder="Votre prénom">
<input type="email" name="email" class="form-control mb-3 StripeElement StripeElement--empty" placeholder="Votre email">
<div id="card-element"> …Run Code Online (Sandbox Code Playgroud)