#Nelsonct7
1 messages · Page 1 of 1 (latest)
Hi there, you can build your own UI to collect the card holder name, and specify it in the billing_details (https://stripe.com/docs/js/setup_intents/confirm_setup#confirm_setup_intent-options-confirmParams-payment_method_data-billing_details) when calling stripe.confirmSetup()
const { error } = await stripe.confirmSetup({
// Elements instance that was used to create the Payment Element
elements,
confirmParams: {
return_url: 'http://localhost:3000/
});
I am using stripe.confirmSetup, I tried to do it throug the above syntax but got errored
what error?
the field didnt get updated in the card,
I don't see you specify a billing_details in confirmParams
ok, let me check with that, thanks for the help