#piyushjain_api
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/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.
- piyushjain_api, 6 days ago, 77 messages
- piyushjain_api, 6 days ago, 51 messages
Hello
How I can show Twint QR directly inside my Windows / android app in kiosk mode ?
Is it possible ?
Hey! What do you mean by kiosk mode?
Ah I see, you would be using the Stripe Terminal Android SDK i suppose?
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 ?
I dont think you would be able to via payment intents, but do give me some time to test this out
Sure
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.
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
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
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?
Ionic app, its running inside window app.
Hmm I am not familiar with the use of Ionic. I understand that Ionic is a cross platform tool that allows you to develop and deploy https://ionicframework.com/docs/#cross-platform
- Website that runs on a browser
- Android App
- iOS Apps
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
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 .
hi! I'm taking over this thread. give me a few minutes to catchup
sure
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
yse that's right
oh okay..
Any alternative way ?
the ideal flow for you:
- the Twint QR code is shown on your kiosk mobile app
- The user scan the code with their phone and confirm the payment
- your kiosk app pools the PaymentIntent status, and when it's succeeded you show a "success" message on the screen
- so no
return_urlwhere needed
is that correct?
Yes correct
👋 Hey, taking over here, just taking a look to see if there's any possible alternative way
yes please
the ideal flow for me:
- the Twint QR code is shown on your kiosk mobile app
- The user scan the code with their phone and confirm the payment
- your kiosk app pools the PaymentIntent status, and when it's succeeded you show a "success" message on the screen
- so no return_url where needed
this is what i want to achieve
Afraid I also don't see any alternative way of doing this without return_url