Let developers have control with their own elements. I don't see a point of using V3 elements for validation but I'm forced to use it. V3 makes integration with FE Frameworks validation libraries such a hassle and for only a few form fields.
Loading V2 and V3 together is not an option as it affects performance.
Using cardElement here is IMO uncalled for. There's little security implication if we use a JS object with actual card numbers, since that is exactly what's being sent via the fetch request anyway.
Summary
Let developers have control with their own elements. I don't see a point of using V3 elements for validation but I'm forced to use it. V3 makes integration with FE Frameworks validation libraries such a hassle and for only a few form fields.
Loading V2 and V3 together is not an option as it affects performance.
Using cardElement here is IMO uncalled for. There's little security implication if we use a JS object with actual card numbers, since that is exactly what's being sent via the fetch request anyway.