#kops_76861

1 messages · Page 1 of 1 (latest)

steady quarryBOT
fair dune
#

Hi. Let me help you with this.

#

How are you initializing Google Pay?

ruby dragon
#

via your payment elements.

fair dune
#

Could you please share some relevant code?

ruby dragon
#

const options = {
layout: {
type: 'accordion',
defaultCollapsed: false,
radios: true,
spacedAccordionItems: false
},
fields: {"billingDetails": "never"},
paymentMethodOrder: paymentMethodOrder,
};
elements = stripe.elements({
appearance,
clientSecret
});

const paymentElement = elements.create("payment", options);
paymentElement.mount("#payment-element");
fair dune
#

I believe Google Pay always requires the billing address.

#

If you added your card to Google Pay wallet it should always be present.

ruby dragon
#

But we do provide the details when confirming the payment.

#

const {error} = await stripe.confirmPayment({
elements,
confirmParams,
});

fair dune
#

What's inside confirmParams?

#

Are you trying in Test mode?

ruby dragon
#

all the details like, shipping and billing

fair dune
#

When you're using Google Pay in test mode it should use a dummy billing address