#StevenS

1 messages · Page 1 of 1 (latest)

gritty bloomBOT
sterile thorn
#

Hi! Let me help you with this.

gentle ferry
#

Hi

#

thanks

sterile thorn
#

You can list the payment method types when you create the Payment Intent

gentle ferry
#

They payment element doesnt work well with the new shipping address element. For example you can't click on google pay because it fires the validation for the shipping address element.

#

It would be strange to expect the customer to enter the shipping address details to be able to click on google pay which already has the shipping address details.

#

That's why i was looking at this approach, separate wallet section with another credit card section with the address element.

sterile thorn
#

You can also build an address field yourself, and only add it to the .confirmPayment() if needed.

gentle ferry
#

I suppose I could add the address fields, try and style them the same as Stripe's fields, add the validation etc. Ok so what about my scenario is it possible to have two sections, wallet section and credit card section. The cc section with the shipping address element.

#

Thinking of using the wallet element AND the card element on the same page, is that possible?

sterile thorn
#

You should be able to have 2 Element groups on the same page

gentle ferry
#

ok good, do you know if the card element works with the address element?

sterile thorn
gentle ferry
#

ok great Vanya, will proceed with the payment request button, along with the card element plus the address element.

#

thank you for your help.

sterile thorn
#

Happy to help. Let me know if you have any other questions.