#benjamineugenewhite - Payment Request Button

1 messages · Page 1 of 1 (latest)

amber harness
torn nexus
#

You are right! Thanks so much for your help.

amber harness
#

Awesome glad I could help. Let me know if you run in to anything else

torn nexus
#

One follow up: all things equal, would it make more sense to use PaymentElement instead of CardElement + PaymentRequestButton? (I don't have the original dev to ask why this particular implementation was chosen, but maybe there are good reasons...)

amber harness
#

They are both valid ways to integrate. Is there anything in particular that you are trying to do beyond what this page already does?

torn nexus
#

Sorry, to clarify, by "this page" are you referring to the page that has the payment element in my app?

amber harness
#

Correct

#

Their capabilities are very similar here. PaymentElement is newer and what we recommend for people who are just starting, but they are very similar capability-wise so it really comes more down to what you are trying to do behavior and UI-wise

torn nexus
#

Got it. Looks like PaymentElement came out in Oct 2021, and this page was implemented before then, so that's probably why.

#

Thanks again. I'm sure you all hear this all the time, but this is amazing support. Y'all rock.