#peter-l_code

1 messages · Page 1 of 1 (latest)

midnight beaconBOT
#

👋 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.

crude junco
#

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

lusty island
#

hi there!

trim hollow
#

Hey! Taking over for my colleague. Let me catch up.

crude junco
#

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?

trim hollow
#

So it's hard to tell honestly

crude junco
#

hm i see

midnight beaconBOT
trim hollow
#

I would recommend reaching out to Stripe Support to learn more about this particular integration

crude junco
#

ah ok i see, thank you

trim hollow
#

Np! happy to help!

#

Where are you based actually ?

crude junco
#

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?

trim hollow
trim hollow
crude junco
#

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?

trim hollow
#

Yeah you need to capture the funds from your backend

crude junco
#

but means capturing, that the amount is settled then?

#

not sure if i understand it correclty

crude junco
#

ok thank you

trim hollow
#

Welcome!

crude junco
#

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?

trim hollow
#

Can you share the PaymentIntnet Id ?

crude junco
#

pi_3QuWz1AVZ7udcNYH2Ez0qs9a

#

flave gmbh

#

its in test mode

trim hollow
#

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 ?

crude junco
#

yes, as far as I understand it, yes, we only have one paymentintent variable aroun dhere

trim hollow
crude junco
#

ah ok, but confirming doesnt mean its settled then or?

trim hollow
#

In this case, no because you are using manual capture

#

In your cases (after the customer return the rented object)

crude junco
#

ok cool, thank you, will try that! helped a lot!

trim hollow
#

Welcome! Always happy to help!