#daffodil-20_customer-data

1 messages ยท Page 1 of 1 (latest)

karmic geyserBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1275114156378292315

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

raw hedge
#

Hello

#

No we don't receive that information from the card -- you would have to collect that yourself

stoic solstice
#

Yes, I do collect it myself, but I didn't find how I can pass it to stripe.
For instance, I use confirmPayment method to include paymntMethod data when using the card field inputs, but there's no similar method for the Terminal

raw hedge
#

Which Terminal integration are you using here?

karmic geyserBOT
stoic solstice
#

I'm using "@stripe/stripe-terminal-react-native": "^0.0.1-beta.13",
The handleCreatePaymentIntent method only takes 2 arguments: amount and stripe mode

const handleCreatePaymentIntent: ({ amount, mode, }: {
    amount: number;
    mode: StripeMode;
}) => Promise<any>
ancient arrow
#

However, you are using a relatively outdated version (from August 2023). The current version of the SDK is v0.0.1-beta.20

stoic solstice
#

Where are you seeing this method? I'm looking in our SDK and not finding it.
Sorry about that. It turns out it was a wrapper function for a POST request to our server. After checking the createPaymentIntentParams, Iโ€™ve found that both the customer and metadata can be used for this purpose.

#

you are using a relatively outdated version
WIll look into this as well

#

Thank you @ancient arrow !

ancient arrow
#

Sure thing! Happy to help ๐Ÿ™‚