#Ivy0212
1 messages · Page 1 of 1 (latest)
Which integration do you use? Payment Element, Payment Request Button or Express Checkout Element?
Express Checkout
In the click event, billingAddressRequired in the options of event.resolve() can be set to false to disable billing address collection: https://stripe.com/docs/js/elements_object/express_checkout_element_click_event#express_checkout_element_on_click-handler-resolve-billingAddressRequired
ok, thanks, will try this. And have another question, the billing address is required when adding a new card, right?
I already set that
Hi can I get the answer regarding the new card
Hi! I'm taking over this thread.
the billing address is required when adding a new card, right?
What do you mean "when adding a new card"? Adding the card where?
sorry, she might a little busy,
I`m developer
she mean is "I set billingAddressRequired to false first, then one user click the button. If the user has not added any cards, does he still see the billing address option?"
If the user has not added any cards,
I'm still not sure I understand this part. Added a card to where?
Added a card info to google pay
If the user has no cards in google pay, then they won't see the Google Pay option at all.
but I set the wallets.googlePay to "always"
const expressCheckoutElement = elements.create('expressCheckout', {
wallets: {
applePay: 'always',
googlePay: 'always'
},
})
Give me a few minutes to double check this.
OK thanks
Hey! Taking over for my colleague. Let me catch up.
If the user doesn't have a card added to their Google Wallet, then they won't see the Google Pay
even if you set the wallets to always.