#ismail_code
1 messages ¡ Page 1 of 1 (latest)
đ 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/1227952826806960251
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
How are you creating/confirming the Terminal payments exactly?
Thanks @sand talon ,
I'm using the same integration for Expo found on: https://docs.stripe.com/terminal/payments/setup-integration?terminal-sdk-platform=react-native
Steps for processing terminal payments:
- create payment intent
- retrievePaymentIntent
- collectPaymentMethod
- processPayment
Do you want to pull the name just by doing the charge? Or will you enter it manually?
I want the customer's name to be displayed on the UI like this
Currently, the app handles both manual card and terminal payments.
I ssupect that the confirmPayment method is behind the customer's name being displayed on the screenshot above.
It seems there's a Customer object created.
But my question still stands âď¸
I'd like to enter it manually.
Is there a separate method for adding the customer's object when making terminal payments, all the methods I shared don't accept additional payment data as params?
Then you should create a Customer object and give it a name before creating the PaymentIntent.
You then provide the Customer ID when creating the PaymentIntent.
Alright, thanks @sand talon
Happy to help.