#ynspc
1 messages · Page 1 of 1 (latest)
Hi. Let me help you with this.
I am not sure I follow how the slider is linked to the validation messages. Could you explain please?
sorry about that, I wanted ask other question, let me update the question
You can call await elements.submit() to trigger form validaton.
Is it working?
it returns empty object
Is the form validated?
previously i tried using this line 229
I have integrated the stripe element in this manner, is there soemthing worng?
You should not use your own input elements unless your app is PCI-compliant: https://stripe.com/gb/guides/pci-compliance
You can use Payment Element instead
I have used the component provided by stripe. Due to design related issue, I just broke down into each card element and passed as component
and yes it works perfectly fine if payment element is used
I don't think this works with Card Element, unfortunately.
So can i use card element to meet the design specificaiton
as you mentioned about PCI-compliant, using either paymentElement as a whole or separating different card elements as carfnumber, cvc, expiry, wont have any effect on PCI-compliant
If it does affect the PCI-compliant, then i am happy to move back to paymentElement
If you use Stripe Elements, it's ok, but I just don't understand how your form works here ☝️
Also, this is a different form from the one you just shared
latter one is already existing screen where only the payment method is to be stored from the customer for future payments
yes because it is from another screen and I just wanted confirm that it works fine if paymentElement is used