#barkman_api

1 messages ยท Page 1 of 1 (latest)

near marlinBOT
#

๐Ÿ‘‹ 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.

jolly tartan
#

I am seeing the following in the Network response, which I think indicates that Element's being told not to surface TWINT

#

Hello! (btw)

jagged flame
#

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?

jolly tartan
#

I've just turned off Klarna, btw

#

(shouldn't have been on)

#

^ are you able to access the link?

jagged flame
#

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?

jolly tartan
#

We were told TWINT was only testable in production.

jagged flame
#

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

jolly tartan
#

Thanks - yeah the false response on the elements_enable_external_payment_method_twint raised my eyebrow.

jagged flame
jolly tartan
#

Wondering if there was something we weren't sending correctly, but from reading the docs, looks like we should be satisfying the criteria

jagged flame
#

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

jolly tartan
#

That's the only other thing I could think of

#

Would be good to know if that's the case

jagged flame
#

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

jolly tartan
#

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.

jolly tartan
jagged flame
#

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 ๐Ÿ˜…

near marlinBOT
jolly tartan
#

Would be handy to have that in the developer docs (if that's the case) ๐Ÿ˜‰

jagged flame
#

FYI i need to hand things over to my colleague as i need to run and grab lunch, but you're in good hands ๐Ÿ™‚

lilac meadow
#

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.

jolly tartan
#

Yeah, again, we had it showing up as an option previously

lilac meadow
#

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']`
jolly tartan
#

Like to the payment info page? Not really

#

It was showing up in a testing environment but not showing up in production

lilac meadow
#

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?

jolly tartan
#

yes

lilac meadow
#

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.

jolly tartan
#

Looking for that account id now

#

acct_18MqC3DdY0hDHIVR

lilac meadow
#

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

jolly tartan
#

Ohhh this is great!