#Srujan

1 messages · Page 1 of 1 (latest)

modern heartBOT
magic fable
#

Hi there, PaymentElement supports Google Pay and Apple Pay out of the box, you don't need to create one by yourself.

#

Or are you trying to customize the Google Pay / Google Pay button inside the PaymentElement?

stark ginkgo
#

Nope, but the button that a user clicks that call confirmPayment, that button I want to make dynamic

#

Like on the demo on stripe for Payment Element, there's no button, so I had to make one

magic fable
#

OK, that's your button, the PaymentElement doesn't include a submit button.

stark ginkgo
#

Right, so I guess my question is, is it breaking the rules to use apple or google's branding on this button? And how do I get that multicolored google icon for the branding purposes?

#

I can get the white one for apple and google but I'd rather have the multicolored one like the one that displays on the payment request button element

magic fable
#

I think your question is how to listen to the paymetn method selection change event so that you can display a different submit button? is this the right understanding?

stark ginkgo
#

No sorry, I already am getting the correct user selected payment type. I'm just wondering how I can import the correct multicolored Google icon like the ones that is displayed on the Payment Request Button Element

#

I guess this isn't really directly stripe related