#edgarsantiago-ece-billingrequired
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- edgarsantiago93., 17 hours ago, 22 messages
- edgarsantiago93., 6 days ago, 12 messages
Hello! Can you give me a quick summary of where you left off?
yes! basically while using link with express checkout sometimes some users get this message
the "requires your billing address"
and yesterday we could not figure out if thats a setting or what are the requirements for it to show
i couldnt reproduce it yesterday so i was waiting for a screenshot from my qa team but this morinig i was doing a test round and it popped up, no change to the code, initial setttings or anything, so im at a loss on this
Do you have a payment intent ID I can look at or more detail on how you reproed it?
hmm not really, we're using the "confirm on client" flow, so at that point (when the user clicks link button) we just have an amount that is passed from the stripe.element create options and express checkout options
Can you show share what you have set in the stripe.element create options?
sure
{
mode: 'subscription',
amount,
currency: 'usd',
paymentMethodCreation: 'manual',
captureMethod: 'automatic',
loader: 'always',
setup_future_usage: 'off_session',
appearance,
};
👍 let me see if I can repro as well
thnks!
I think I found it - are you setting any specific options in your click handler for the express checkout element?
I believe by default we require the billing address, so if you want it disabled you'd set billingAddressRequired: false https://stripe.com/docs/js/elements_object/express_checkout_element_click_event#express_checkout_element_on_click-handler-resolve-billingAddressRequired
not really, im using react elements with a global handleSubmit handler for all elements
If this helps, we do have a little react example on how to do this here: https://stripe.com/docs/elements/express-checkout-element/accept-a-payment#handle-click-event
thanks! i added the onClick handler directly to the element, setting billingAddressRequired to false on the resolve fn worked
thank you
awesome!