#_iapp_technologies_llp

1 messages · Page 1 of 1 (latest)

open siloBOT
distant jungle
#

Hi
Can you share more details about your flow please ?

jolly meadow
#

Hi
Yes, initially when I come to the application i get connect to stripe and then as soon as I put my registered email, I am redirected on the base of my exisiting account status to either sign up or login page.

#

But several times even though I had an account I was redirected to sign up page.

#

And more than 1 stripe IDs were appended with my stripe account email.

Hence duplicity was created and then when I logged in to see my products customers and invoices, I was shown an empty list because I was logged in to the duplicate account rather than my original one.

distant jungle
#

But several times even though I had an account I was redirected to sign up page.
Who is maintaing this ?

#

Are you the developper/maintainer of that flow/website

jolly meadow
#

I am the developer

#

The user clicks on connect with stripe

#

Then is redirected to the enter email screen
This is stripe webview

#

After this even if my Account exists which I create, I am being redirected to signup flow and then am allocated a new stripe ID

distant jungle
#

Are you using the Same Email ?

jolly meadow
#

Yes I am using the same mail from which I signed up.

distant jungle
#

Can you share the two accounts Id with the same email ?

jolly meadow
#

Yes for sure.

#

acct_1OOvKW4JvOlRdotz

acct_1OOBAF4JWfRUurHs

Here you go

#

Hello,
Can you please provide me a solution.

distant jungle
#

thanks for sharing, checking...

#

Can you share the code that displays that Stripe Connect button ?

jolly meadow
#

Sure.

#

Code snippet for Front End (Native iOS --> Swift)

#

Code snippet for backend (Laravel)

distant jungle
#

One last thing please, is it possible to share the resulting connect login url ?

jolly meadow
#

Let me check

open siloBOT
jolly meadow
#

Please can you provide me assistance

rough sleet
#

The outcome of multiple accounts with the same ID is expected. We don't de-duplicate accounts by email address. If you want to use an existing acct_xxx then you should map that against a user/email in your app

jolly meadow
#

Can you please elaborate for better understanding

#

Can you please let me know how can we create the URL without knowing that it will be used sign up or login. In case of sign up it works correctly but in case of login it creates two users.

rough sleet
#

They're all just rolled up into a single Stripe login, and you can switch between them in the Dashboard

rough sleet
jolly meadow
#

So how can we handle this on our end please let me know.

We are facing issues with products, customers and invoices that we create in these accounts as everytime a new account is created, products, customers and invoices are not synced with the new account.

rough sleet
#

I answered that above I think

jolly meadow
#

We are saving the account id with the email of the user, but if the user logs out and then creates a new URL to login, he gets connected to the new account id and his products are in the old account id.

How can i know during the webview of stripe if the email is a new one or an existing email so as i can stop the user from being created with a new account id.

rough sleet
#

You can't unfortunately. There's no way to retrieve an acct_xxx ID by email address, other than listing them all and filtering locally

jolly meadow
#

Can I delete these duplicate accounts that are being created?

rough sleet
#

If they're test accounts you should be able to yes

jolly meadow
#

But if the same scenario is on live, then how do I handle this?

rough sleet
#

You cannot delete standard accounts in live mode as the platform

jolly meadow
#

Okay if I take the emails initially from the user and check its existence as an account, and based on that hit the login or sign up api, it should work fine right??

rough sleet
#

Yes I'd imagine you should be handling email uniqueness in your app so that x@x.com can only ever have 1 account. And that account in your app will map to a unique acct_xxx at Stripe, and when theyre signed in prevent wny further account creation at Stripe

jolly meadow
#

Okay thank you for the update. I will check this.