#carson-elements

1 messages · Page 1 of 1 (latest)

left blaze
#

Hey 👋 the Payment Element is an up-and-coming approach for integrating Stripe into a page.

That being said, you are still welcome to use the individual card piece elements, and will want to if you want to have a more customized look and feel.

steady parrot
#

ok great, thanks!

#

just some feedback, unless im missing it somewhere, it would be great to still have examples somewhere of how to accept a payment with the "old" style of elements. if you don't want to use Payment Element it's a little bit harder to piece the documentation together to get an idea of what the start to finish would look like for something like this: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements

#

especially since it's not just the element that's different, but the way you confirm a PaymentIntent (stripe.confirmPayment vs stripe.confirmCardPayment)

left blaze
#

Thank you! That is excellent feedback to relay to our teams.

steady parrot
#

no prob! thanks for the quick reply!