René Rieck
Joined
30 Experience
0 Lessons Completed
0 Questions Solved
Activity
Posted in Stripe Elements Javascript Discussion
Simply change
<div id="card-element">
<!-- a Stripe Element will be inserted here. -->
</div>
to
<div id="card-element" class="form-control">
<!-- a Stripe Element will be inserted here. -->
</div>
Afterwards the card element is shown
Okay, found the issue. It failed as Twitter don't give you a user e-mail so it fails on the validation of that one. So i just took care of that case and now it's working but maybe you can review this in one of the episodes how to handle these cases. Especially with the GDPR where a confirmed E-Mail is required.
Hi, i have the same problem and being stuck for a while now.