#Mint
1 messages · Page 1 of 1 (latest)
Hi there, do you intent to use PaymentElements or IBanElements? Because the integrations are different
OK, then you don't need to use <Elements>, you can remove it from your code
got this message mate
Ah, sorry my mistake, you still need to wrap it
Do i need to also wrap IBanelement by ElementConsumer
Does your frontend app has a valid clientSecret when rendering the <Elements> ?
Can I use clientSecret from a setup intent ? Or I need to use client secret from a payment intent
Because from first render there is no payment created yet
Actually you don't need to have condition like clientSecret ? (<Elements ... if you are not using PaymentElement, this condition will prevent <Elements from rendering if clientSecret is empty
You should just remove clientSecret ? condition
My code is looking like this
Does it looke right ?
The element show like this all the time