#felipe_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/1470525429977972901
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- felipe_code, 6 hours ago, 7 messages
Hi ๐ can you share the IDs of related objects from when you saw this behavior?
Right now I can only use the simulator for testing, it that enough?
Possibly, let's see what you have
I guess the Payment Intent
And to make sure I'm understanding correctly, you have custom block logic that is running prior to the intent confirmation, and you're looking for insight into why that block logic didn't trigger?
Yeah, actually when I'm using tap to pay, I need to get from the Stripe SDK what kind of card it's: credit or debit. Right now I'm getting null from the SDK
What kind of mobile app are you using for the POS side of the integration?
A custom/native Android POS application (in-house), using Stripe Terminal Tap to Pay for card-present payments
Gotcha, have you taken a look at this Collect, Inspect, and confirm section?
https://docs.stripe.com/terminal/payments/collect-card-payment?terminal-sdk-platform=android&process=inspect#process-payment
It helps walk through what you're trying to do.
I'm trying to get the cardfunding using the PaymentIntent: paymentIntent.paymentMethod
?.cardPresentDetails
?.funding
but cardPresentDetails is null
actually paymentMethod is null
Did you provide a Payment Method yet? Or is the intent in the requires_payment_method state?
Yes, I 've tapped there
Hm, not what I was looking for, let me try rephrasing. Did your code call collectPaymentMethod? What was the response
Can you copy/paste the ID of that intent here?
pi_3Sz25gHV1bfqWGJ81RMwCao5
Hm, yeah, looks like that intent is still waiting for a Payment Method at this point
Ah, because by default it isn't passed until the next step. Did you add the updatePaymentIntent to your PaymentIntentConfiguration?
https://docs.stripe.com/terminal/payments/collect-card-payment?terminal-sdk-platform=android&process=inspect#collect-inspect-payment-method
Gotcha, you'll need to begin doing so.