#barkman_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/1341485426283778188
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
I am seeing the following in the Network response, which I think indicates that Element's being told not to surface TWINT
Hello! (btw)
hiya! things are a little busy so apologies in advance if i'm a little slow.
at first glance i'm seeing this in the payment intent:
"card",
"link",
"klarna",
"twint",
],```
do you have a publically accessible test page i can use to reproduce the frontend?
I've just turned off Klarna, btw
(shouldn't have been on)
^ are you able to access the link?
circling back to this now! give me a second to look at your test page
and yes i can see it
just gonna drop some relevant ids and values and whatnot here:
pi_3QtwPpD24EVaNOaF0XmMVpQT
id: "pmc_1PlxHkD24EVaNOaF41kysy8k",
parent: null
},```
can confirm i'm also not seeing twint
were you able to get this working in test mode?
We were told TWINT was only testable in production.
ooooo interesting
i don't have a ton of experience with twint so i might need to consult with some colleagues on this. right now i'm just poking around at your frontend to see if anything obvious turns up
Thanks - yeah the false response on the elements_enable_external_payment_method_twint raised my eyebrow.
my best guess is that it's failing one of the other checks listed at the top of the page:
https://docs.stripe.com/payments/twint
Wondering if there was something we weren't sending correctly, but from reading the docs, looks like we should be satisfying the criteria
i wonder if it's determining that the customer isn't in switzerland? i'm not 100% sure how we handle the customer location logic for this case
That's the only other thing I could think of
Would be good to know if that's the case
would it be possible for you to run a test where you pass in a swiss address for the customer? i'm poking around to see if i can find how we determine the location on my end but if it's possible for you to test real quick that would be neat
Hmm - don't think I've got the right VPN setup for that right now.
Does it help to know that I can get the other Bank Redirect methods to show up (without altering my IP address)?
e.g. iDEAL, Bancontact, EPS, etc.
FWIW - We were able to get TWINT to show up on the list in test env'ts, but it doesn't allow full end-to-end testing on test env'ts.
The checks here being Customer locations and Presentment currency, right?
yep exactly, you have the right currency but i think we do some kind of validation to ensure the customer is in the right location
but things are a little busy and i'm having a hard time digging up what exactly that is ๐
Would be handy to have that in the developer docs (if that's the case) ๐
FYI i need to hand things over to my colleague as i need to run and grab lunch, but you're in good hands ๐
Hello
I wonder if the API version has something to do with this, likely not but just wondering ๐ค
Your account is on an older API version.
Yeah, again, we had it showing up as an option previously
Is there a direct link to your checkout page? Without needing to fill out the form etc
Any idea when it stopped showing up?
does twint show if you remove
enabled: "true",
},```
and pass `payment_method_types: ['card','twint']`
Like to the payment info page? Not really
It was showing up in a testing environment but not showing up in production
Hmm, I'm have a test swiss account and it does show twint
It was showing up in a testing environment but not showing up in production
Does your testing environment use a different Stripe account?
yes
Can you share that account ID?
Also I ruled out the API version. I tested an account with the same API version as yours but twint works fine for me.
have you tried using a VPN?
okay yeah it's geolocation
I believe in test mode we just don't use geolocation validation
but in live mode, we do look at customer location
twint shows up with a VPN server in Swiss location
Ohhh this is great!