#newtreyes
1 messages ยท Page 1 of 1 (latest)
Hi, @proper arrow
Hello
Do you have an example charge where the details were copied from somewhere enexpected? I think it comes from the details on the intent itself but will have to double check. Are you basically asking how details on the Customer object apply if at all?
Yes!!!
Ex
This is the customer: cus_OCbD7xqv1JOoQF
This is the charge: ch_3NQxusIJwkxnVmNV1lEs3DFL
According to the docs it is the billing_details on the payment method at the time of the charge https://stripe.com/docs/api/charges/object#charge_object-billing_details
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That charge has no billing details
Ah so the answer may be that it isn't auto-copied over from the customer. Checking in to this...
The payment method was captured using the payment intent and it has no billing details either
pm_1NQxuyIJwkxnVmNVWBGKU9MA
FYI: I am using the Terminal SDK for Android
Gotcha, thanks for the context. I have a feeling Terminal has something to do with this as well
I'm not seeing billing details on the payment_method itself. In the request where the PI was confirmed the details all come back as null https://dashboard.stripe.com/test/logs/req_GfCAFanBgDEQQA
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Yes
I can see that too
but I am not sure why
I am specifying the customer id as part of the payment intent creation process
I was expecting the billing details for both the payment method and the charge to come from the customer
This is what ChatGPT thinks about this
๐
but seems like we are both wrong (chatGPT and me)
Not seeing that behavior documented and I am not seeing it happen on non-Terminal intents when testing. I will ask my colleagues about this. It seems intuitive that that would happen but it may just be the case that that is not what the customer's address is meant for
Well, if not
how can I set the billing details for both the payment method and the charge when using a payment intent?
how can I specify that?
Checking in to that as well. I remember trying to do this through payment_method_data on the intent but I think that you can't use that while also supplying a payment method Id on the intent.
Just asked my colleagues, will get back with what we can find
thank you, Sir
Apologies we are still looking in to this. It looks like you can't pass the billing details in on the intent's creation. There is a beta that lets you inspect the details though I am not yet sure if it would let you update them https://stripe.com/docs/terminal/payments/collect-payment?terminal-sdk-platform=android#collect-inspect-payment-method
So, still looking, just wanted to give a quick update so it doesn't feel like we've dropped your thread