#Ubaidul
1 messages · Page 1 of 1 (latest)
Is country and billing address required? Previously I never sent address using the Stripe form
If you specify collection as never, you'll need to pass it
can i pass Never value to the confirmPayment?
No you need to pass that value
I believe it depends on the payment method
Sometimes it will be required
That's why it's usually best to just leave these fields set to auto: https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-fields-billingDetails
That way you can automatically collect what's necessary
You'll see here: https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-confirmParams-payment_method_data-billing_details that Billing fields that are omitted in the Payment Element via the fields option required.
So whatever you set to never when creating the payment element, you'll need to pass on confirmation
Ok understand