#progmind_paymentelement-fiancialconnections

1 messages ¡ Page 1 of 1 (latest)

leaden valeBOT
#

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

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

solid remnant
#

@upper jacinth looking in our code, that error happens when you use FinancialConnections but you are talking about credit cards so that doesn't add up to me

upper jacinth
#

yep, actually I have 3 customers that reported an issue, one of them (based in USA) sent me the screenshot with that message and the other two just said they are not able to add bank accounts

solid remnant
#

okay so this does seem to have nothing to do with credit cards after all?

upper jacinth
#

I would say that's correct, some of the customers are not technical people and just say that they are not able to add their payment methods, but I would say those are issues with bank accounts

solid remnant
#

progmind_paymentelement-fiancialconnections

leaden valeBOT
faint scarab
#

Hi, stepping in for a teammate and catching up.

upper jacinth
#

thank you @faint scarab

faint scarab
upper jacinth
#

is a bit complicated to track transactions from my customer's accounts, it was hard to get from them the setup intent id I sent you, so is there any other way we can investigate with the setup intent?

faint scarab
#

Let me look for a few more minites. If I cannot find the specific object, we can circle back here. Hang tight..

upper jacinth
#

I believe I have something for you:

intent id: "seti_1PtDMTDigBfciguwx64FkFFC"
event id: "evt_1PtDMTDigBfciguwOlb0xCcT"

let me know if this works for you and thanks

faint scarab
#

Hm, that object does not seem to have any errors, I would have assumed there would be a 400 error for instance on the confirm call. However, there is not any here. Can you share exact steps where I can reproduce this issue? I would like to try this on my end and further debug this. Also, where and when exactly are you seeing this error?

upper jacinth
#

thank you... I was just able to reproduce the issue on my local device, the steps to reproduce are:

  1. Click the "US bank account" in the form.
  2. Complete my email and name.
  3. Searched my bank
  4. Logged into my bank's account.
  5. I saw the "authorize" option.
  6. Posted the info and I got the message "The auth session is in an invalid state for this action".

I can see this event id on my Stripe account: evt_1PtDg4DigBfciguwMqsGsXcZ
with the setup intent id: seti_1PtDg3DigBfciguw8SSC9gRa

faint scarab
#

I will look at this in a bit, let me wrap up some other threads on the channel and I will try to reproduce this on my end and further debug this issue.

upper jacinth
#

thank you very much and again, something to keep in mind:
I'm using a Flutter app that uses a WebView to show the payment form. In the same webview the whole bank login flow is happening.

#

and if this helps I just tried again with the same message:

request id: req_phmOxNxMF6Qfuo
setup intent id: seti_1PtDxyDigBfciguwfVhDlcWn

thanks! let me know please if you need anything else

faint scarab
#

Is this only happening in live mode only? Can you reliably reproduce this issue? When did this start?

#

Can you confirm if this happens to the same bank or different banks?

upper jacinth
#

yes, this is happening only in live mode and yes, I tried two of three times and I got the same message in every try.

I would say this is happening for different banks because is happening in different countries but if helps I used Mercury bank to test

faint scarab
#

Can you share the URL of your website so I can try to reproduce this?

upper jacinth
#

you would need to download our app, just look for Gymdesk in PlayStore and AppStore. I would need to create a user for you but I would like to have a more secure way to send you some credentials

faint scarab
#

Can you share a recording for this happens? Please redact any PII information from it.

upper jacinth
#

yes, I can get you a recording for sure

upper jacinth
faint scarab
#

Still looking on our end

upper jacinth
#

thank you, I will be waiting and I really appreciate your help

faint scarab
#

Are you able to share our code for setting up the Payment Element on your page? Also, is the Payment Element within an iframe on on there?

upper jacinth
#

let me check that

#

so checking the code I see that:

  1. I don't have any custom iframe.
  2. The payment elements is rendered inside an iframe with name like: "__privateStripeFrame0974" (it seems like that iframe is coming from you)

And the code I use is very simple (in .js)

var elements = stripe.elements(options);
var paymentElement = elements.create('payment',params);
paymentElement.mount('#stripe-element');

finite harness
#

Gotcha, our iframe is fine, but when our iframe is inside yet another iframe that can cause some difficulties sometimes.
It looks like this can be caused by incompatabilities between the COOP/COEP policies that Fincancial Connections needs vs what some Webviews support/can be configured to support. I think what would be really helpful to enable debugging for your webview and see if there is any console output when this happens so we can get a more specific idea of the error. You may need to refer to your specific WebView plugin's docs to see how to enable debugging

upper jacinth
finite harness
#

I think it likely would. That is a community library that works with our mobile SDKs so this would likely sidestep the cross origin policy stuff that often causes this type of issue.

upper jacinth
#

ohhh got it, thank you... I'm gonna try to enable debugging on my webview and see what can I get from it, thank you very much.

Im not sure how much time that could take me but if possible don't close this ticket yet