#farrukh_terminal-tipping
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/1217892734073962547
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there! Can you share a PaymentIntent ID?
Please find the PaymentIntent ID below
pi_3OuIMmGYxYlmPP9t1MZloGvE
the request is in test mode
Taking a look!
farrukh_terminal-tipping
Taking over and investigating, give me a few minutes
Okay so when you look at req_OKBaO8rnGXIV8N which is when your code made the confirmation it responds with amount_details: { tip: { amount: 989, }, }, as expected
same thing on https://dashboard.stripe.com/test/events/evt_3OuIMmGYxYlmPP9t1zQafpUa which is the payment_intent.succeeded Event
I think the problem might be that we don't expose this client-side in your Android app, only server-side
I can see the tip amount in the stripe portal logs but the thing is that this information is not being captured by the SDK, I have to make an additional API call to fetch this information
correct and I think that's expected right now, you'd do the tip reconciliation server-side when you get the Event on your WebhookEndpoint.
Surfacing it client-side could make sense but it's not supported today so that'd be a feature request you can flag to our support team: https://support.stripe.com/contact
I'll make the feature request as well, since the SDK code had a variable named amountTip I thought that it would be working as well, but it only returns Null
it returns the total captured amount accurately only the tip is missing
Sounds good! I flagged internally to investigate too!