#peter-l_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/1342071178059321438
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
the reader is also discovered and I get the onSuccess callback triggered.. just the NFC card doesnt do anything then when I put it on the TTPA reader
hi there!
Hey! Taking over for my colleague. Let me catch up.
oh it seems it only works in release mode, not in debug build mode
is there any way to make it work in debug mode too?
No honestly, we are not very familiar with that particular reader here, it's not listed in our public docs yet:
https://docs.stripe.com/terminal/payments/setup-reader
So it's hard to tell honestly
hm i see
I would recommend reaching out to Stripe Support to learn more about this particular integration
ah ok i see, thank you
Np! happy to help!
Ah I just found a reference actually in TTPA:
https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay?platform=android#device-types
Where are you based actually ?
austria
but i have another question. which methods should I use when I only want to block a specifc amount of money? f.e. 200 €, but not actually settle it? (our use case is that we are an event company for a silent party with 15.000 guests and provide a software to rent out headphones. the users pay 200€ upfront, and it should be returned in case they give the headphones back after the party. if not, we will settle the transaction?
It's still in preview (public beta) there 🤔
So, you are looking for the Terminal version of this integratino path:
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method
On terminal, is quiet similar, you need to pass capture_method: manual hen creating he PaymentIntent:
https://docs.stripe.com/terminal/features/incremental-authorizations
Ok. is there a way to capture the payment then in the stripe web backend? Since i took a look, and found the payment intent, but there was no button to settle it actually?
but means capturing, that the amount is settled then?
not sure if i understand it correclty
Yes
Check this to better understand the Intent lifecycle:
https://docs.stripe.com/payments/paymentintents/lifecycle#:~:text=If you’re separately authorizing and capturing funds%2C your PaymentIntent can instead move to requires_capture. In that case%2C attempting to capture the funds moves it to processing.
ok thank you
Welcome!
the strange thing is, that we start the payment with this:
params = params ?: PaymentIntentParameters.Builder()
.setAmount(paymentDetails!!.totalSum())
.setMetadata(metadata)
.setCaptureMethod(CaptureMethod.Manual)
.setCurrency("eur")
.build()
then we are create the payment intent with this:
Terminal.getInstance().createPaymentIntent(params!!, object :
then we do a
Terminal.getInstance().collectPaymentMethod(myPaymentIntent!!,
and we get an onsuccess callback then...
But when I take a look in the striipe web backend, the payment intent is still in mode "requires_payment_method"?
Do i need to update the payment intent somehow, after collecting the payment method?
Can you share the PaymentIntnet Id ?
I can't find any attempt to collect the PaymentMethod on it
Terminal.getInstance().collectPaymentMethod(myPaymentIntent!!,
Are you sure that you are collecting the PaymentMethod for the same PaymentIntent ?
yes, as far as I understand it, yes, we only have one paymentintent variable aroun dhere
Ah you are not confirming the PaymentIntent:
You are missing this step:
https://docs.stripe.com/terminal/payments/collect-card-payment?terminal-sdk-platform=android#confirm-payment
ah ok, but confirming doesnt mean its settled then or?
In this case, no because you are using manual capture
You still need to make the final call:
https://docs.stripe.com/terminal/payments/collect-card-payment?terminal-sdk-platform=android#capture-payment
In your cases (after the customer return the rented object)
ok cool, thank you, will try that! helped a lot!
Welcome! Always happy to help!