#suranga_api
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/1435745866802794526
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there
Those values would only be present if there is a Customer associated with the PaymentIntent when you create it (or update it) before confirming it.
If that's the case, can you provide me an example PaymentIntent ID I can look at?
I get the customer details for some of the records
but my client, whom i am integrating the stripe with, says he needs to view the payer information.
is there other ways to get the payer/customer details?
What information specifically?
The relevant data would be stored on the Customer if you collect it and store it there or related to the payment method (if you are looking for something like the billing_details)
I need the details such as name, email, address, etc of the person who made the payment
are these info come in Customer object?
That depends on your integration.
You would have to collect that information
What integration are you using?
api call with back channel
with a key prefixed sk_live
What are you doing on the frontend? How are you collecting a payment method?
we are only fetching the api data and saves into clien't database. Don't exactly know how client is collecting the payments
i can provide an example id in payent intent, for which i do not receive customer data
hi there! I'll be taking over for bismarck here, who needed to step away
ok
If possible could you provide a PaymentIntent id where you don't get customer information, as you mentioned?
"pi_3SNy3aCqOQGlsg8e0rxJL58S"
no customer was used on this PaymentIntent at all - see the payment_intent.succeeded event https://dashboard.stripe.com/events/evt_3SNy3aCqOQGlsg8e0kWJpTPD
so, you mean the payment was an anonymous one? Cannot i get the payer details through billing object?
for example, if the payment is a card payment, cannot i get the card holder name and address to identify the payer?
Yeah, you can get the billing_details that were collected on the PaymentMethod object https://docs.stripe.com/api/payment_methods/object?api-version=2025-09-30.preview&lang=curl#payment_method_object-billing_details
but I think you'd have to retrieve the PaymentMethod separately because I think it can't be expanded
I see. Also, in the front end where payment links are designed, can we make the customer details mandatory?
it will be extremely inefficient to fetch payment method in a seperate request in a loop. Cannot it be changed to expandable please?
this is using Stripe Elements so you'd have to control that in your form
I'm happy to submit some product feedback about expansion but that would be against the way we have been moving
oh interesting
doesnt work for me
dah, of course. Sorry 🤣 its been a long day