#MDTOHM

1 messages · Page 1 of 1 (latest)

untold gorgeBOT
dusky heron
#

Hi there. Was this working on mobile devices before? Or is this a new integration?

storm charm
#

This is a new integration, but it was working intermittently prior...now it consistently doesnt work

dusky heron
#

Ok interesting. Do you have a screenshot to show the issue?

storm charm
#

Yes one second

#

Desktop view (scaled down)

#

Mobile View

#

This is the same step (after you've choosen which bank accounts you want...and clicked confirm). Same Bank / Both are in LIVE mode

#

You'll notice its a different UX as well.

But since there is no DONE button, the flow does not complete

#

/*** financial connection with stripe ****/
function financialConection(result) {

/Create Instance of Stripe/
/*Source: https://stripe.com/docs/payments/ach-debit/set-up-payment?platform=web#web-collect-details*/
const stripe = Stripe(result.stripe_api_key);

/Define Customer Name/
var customerName = result.customer.name;
if(result.customer.lastname){
customerName = customerName + ' ' + result.customer.lastname;
}

const confirmationForm = document.getElementById('confirmation-form');

/* Collect bank account details*/
/* Calling this method will open the instant verification dialog./
/
Source:https://stripe.com/docs/payments/ach-debit/set-up-payment?platform=web#web-collect-details*/
stripe.collectBankAccountForSetup({
clientSecret: result.financial_connection_response.client_secret,
params: {
payment_method_type: 'us_bank_account',
payment_method_data: {
billing_details: {
name: customerName,
email: result.customer.email
},
},
},
expand: ['payment_method'],
})
.then(({setupIntent, error}) => {

#

.then(({setupIntent, error}) => {
if (error) {
} else if (setupIntent.status === 'requires_payment_method') {
} else if (setupIntent.status === 'requires_confirmation') {
var financial_connections_account=setupIntent.payment_method.us_bank_account.financial_connections_account;
var last4=setupIntent.payment_method.us_bank_account.last4;
var bank_name=setupIntent.payment_method.us_bank_account.bank_name;
stripe.confirmUsBankAccountSetup(result.financial_connection_response.client_secret)
.then(({setupIntent, error}) => {
if (error) {
} else if (setupIntent.status === "requires_payment_method") {
} else if (setupIntent.status === "succeeded") {
var paymentMethod=setupIntent.payment_method;
var stripe_financial_store = "{{url('stripe_financial_connection')}}";
$.ajax({
url: stripe_financial_store,
method: "POST",
data: {
"financial_id": financial_connections_account,
"last_four_digits": last4,
"bank_name": bank_name
},
success: function(result) {
console.log(result);

                  if(result.message == 'stripe_financial_connection') {
                    $('#popup-confirmation').modal('show');  
                  }else if(result.message=='card_already_exist'){
                    $('#popup-financial-error').modal('show');
                    $('#popup-error-msg').text("Account Already Exist");
                  }
                }
              });//END ajax.stripe_financial_store
dusky heron
#

Thanks for the info. That looks like the code for your desktop site, though. Can you share some code for your mobile integration so I can take a look?

storm charm
#

This is a Web App

#

So when loading the website from a Mobile device, this is what we see

#

Safari on iOS for example

dusky heron
#

Oh ok. That doesn't look like a mobile browser though. Is the browser's status bar just hidden? Or is that a webview in your app?

storm charm
#

Webview within our app. But the same thing happens from Safari via iOS as well. I just have that screenshot on hand

#

same exact view displays

#

Tried Android as well

dusky heron
#

Ah ok I see

#

And it happens on Android too?

#

Mobile Chrome?

storm charm
#

Yes, and yes

#

I've had a dozen collegues recreate it as well across many different device types

#

iPhone 8 / XR / 13 / 14. S3/4 ... pixel 4 and 4a etc

dusky heron
#

Got it. Thanks for that confirmation

#

Ok, so this is going to require I bit of investigation on our part to dive into this further (that I won't be able to do while juggling threads on Discord). Can you email in here: https://support.stripe.com/contact/email and mention my Discord username codename_duchess? I will pick up the ticket as soon as you notify you've written and we can continue this there

storm charm
#

Doing this now

#

Submitted, and got an email confirmation...but not with an ID or anything

dusky heron
#

That's ok. Let me see if I can find it by searching my discord handle

storm charm
#

Sounds good

dusky heron
#

Did you include it in the message body?

storm charm
#

and yes I put your handle

#

"Discussing with an engineer on Discord: codename_duchess

#

I believe was my exact wording

dusky heron
#

Oh you already have a ticket open it looks like and discussed this with a colleague on Discord yesterday?

storm charm
#

Yes, guilty

dusky heron
#

Oh

#

I see there is already a ticket opened internally and folks are looking into it. That's why

storm charm
#

Was really hoping someone would have some "incight" on apossible TEST or work around

dusky heron
#

Gotcha. Yeah I don't have a workaround at the moment

#

But someone should follow-up with more details

storm charm
#

As we're scrambling on our end, since we now need to DISABLE Bank Account setups

#

ok...is there any notes on it ?

dusky heron
#

Just that an investigation is pending

#

Ok. So once I'm off Discord in a bit, I'll respond to your email

#

Then I'll bump the internal ticket and keep you updated on the investigation/fix