#arielbo-help

1 messages · Page 1 of 1 (latest)

true prairie
#

@night quarry hello! Please make sure to just ask your question clearly next time in one go, this is better than just saying you need help but without the question!

night quarry
#

I just wanted to tell you that I did well with the code that I made yesterday, so that you do not worry I could understand the stripe elements and generate this unique payment button, I wanted to thank you and rubeus for the help.

true prairie
#

Are you using the Card Element, or the brand new PaymentElement?

night quarry
#

Card Element

#

its better to use PaymentElement ?

true prairie
#

It's better yes because it automatically supports all payment method types and Google Pay and Apple Pay

#

it's a bit more complex to grasp at first but if you're done the Card Element successfully, now is likely the right time to move to PaymentElement

night quarry
#

good, well I try to learn and move me to PaymentElement like you advice , thanks again

true prairie
#

Sure, let us know if you're stuck and have questions. It changes the logic a bit because you need the PaymentIntent's client_secret earlier in the flow, but it should simplify your JS code and HTML a lot

night quarry
#

really ? good I try thanks a lot again for your patience