#piyushjain_api

1 messages · Page 1 of 1 (latest)

trail zenithBOT
#

👋 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/1443858197227114660

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

shell umbra
#

Hello

#

How I can show Twint QR directly inside my Windows / android app in kiosk mode ?

#

Is it possible ?

normal lily
#

Hey! What do you mean by kiosk mode?

shell umbra
#

It’s big device which is install in restaurants

#

This kind screen

normal lily
#

Ah I see, you would be using the Stripe Terminal Android SDK i suppose?

shell umbra
#

Kiosk mode is basically, it won’t allow user to open any other application inside device

#

We have build angular ionic hybrid app

#

No we are not using android SDK,

#

Using Javascript and java backend as server we are handing terminal payment

#

Can I create Twint QR image using payment intent ?

normal lily
#

I dont think you would be able to via payment intents, but do give me some time to test this out

shell umbra
shell umbra
#

Please enable TWINT QR Code Payments for in-person PaymentIntents
on my platform and connected accounts. Right now only TWINT Online redirect
is enabled. We need the capability that returns
next_action.display_qr_code for POS terminal use.

normal lily
#

Hey! I dont think we have that attribute for twint at the moment!

#

I believe that the twint QR code will show when you use the Payment Element to confirm the payment intent generated from your backend

#

I see that you mentioned that you tried it on Payment Element already

shell umbra
#

i tried with Payment Element.. but with that we need to provide return url, but my app is in Kiosk mode. we cant open browser .

#

so now i am trying using payment intent, if that can return Twint QR image, and by polling payment status i can handle result

normal lily
#

Hmmm, i just want to confirm, you are using a Ionic app to show your a payment sheet? Or are you planning to use Payment Element through a website?

shell umbra
#

Ionic app, its running inside window app.

normal lily
#

You mentioned that you are not running your kiosk app on the browser

#

So i assumed that it was an Android app, yet I believe that you mentioned that it wasnt an Android App

#

Apologies, I think i might be a little confused as to the environment your site/app will be running on

shell umbra
#

yes ,, see you can consider i am running one android / windows app inside device. for payment i want to show QR code inside app only.. no redirecting .

trail zenithBOT
cold lily
#

hi! I'm taking over this thread. give me a few minutes to catchup

shell umbra
#

sure

shell umbra
#

Hello

#

Waiting for you

cold lily
#

sorry for the delay, looking into this

#

so you want to use the Twint payment method on your Ionic mobile app, but only show the Twint QR code without any redirection on the device. is that correct?

#

if so, I don't really see a way to achieve this right now

shell umbra
#

yse that's right

shell umbra
#

Any alternative way ?

cold lily
#

the ideal flow for you:

  1. the Twint QR code is shown on your kiosk mobile app
  2. The user scan the code with their phone and confirm the payment
  3. your kiosk app pools the PaymentIntent status, and when it's succeeded you show a "success" message on the screen
  4. so no return_url where needed
    is that correct?
shell umbra
#

Yes correct

trail zenithBOT
ancient pond
#

👋 Hey, taking over here, just taking a look to see if there's any possible alternative way

shell umbra
#

yes please

#

the ideal flow for me:

  1. the Twint QR code is shown on your kiosk mobile app
  2. The user scan the code with their phone and confirm the payment
  3. your kiosk app pools the PaymentIntent status, and when it's succeeded you show a "success" message on the screen
  4. so no return_url where needed

this is what i want to achieve

ancient pond
#

Afraid I also don't see any alternative way of doing this without return_url