#Srujan
1 messages · Page 1 of 1 (latest)
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?
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
OK, that's your button, the PaymentElement doesn't include a submit button.
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
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?