#Vikram A-prefill-data

1 messages · Page 1 of 1 (latest)

serene saddle
#

Hi 👋 can you tell us more about the integration flow that you're using?

errant sinew
#

am using setup intent api

#

everything is working just there's no solution for prefilling the billing details

serene saddle
#

So you're using the React Native flow?

errant sinew
#

yes

#

if i try to send billingDetails Object with the initPaymentSheet like
billingDetails: {
address: {
country: 'DK',
},
},

#

it throws an error

#

is there something i am doing wrong ?

shadow temple
#

Hey there, just stepping in for toby who needs to step away -- taking a look here for you

#

What is the error you encounter?

errant sinew
#

hi

shadow temple
#

Which version of the react native SDK are you using?

errant sinew
#

am using 0.63, its saying the the type billingDetails doesnt exist on type setup Params

#

am sending it like this where custom is object as specified in documents

shadow temple
#

Hmm our docs might have a bug. Can you try using defaultBillingDetails ?

errant sinew
#

ok let me check

#

getting same issue, do i have to update the stripe sdk ?

#

am using this version

shadow temple
#

So you'll need to upgrade to at least that version

errant sinew
#

ok

#

thanks for the help

shadow temple
#

NP!