#tomhamiltonstubber-connect

1 messages · Page 1 of 1 (latest)

forest furnace
#

hi there! Let me try, I'd expect it to be pre-set but maybe there's an issue there

pseudo yacht
#

Thanks

#

It's a bit of an issue for us if that's not the case

forest furnace
#

seems to work fine for me, in that it just jumps immediately to asking me for my own details and not details of a company or its directors and so on.

#

what do you see exactly that's not what you expect?

pseudo yacht
#

Hmm that's not what we see

#

Sorry customer rang and got distracted.

#

If I retrieve the Account, should i be able to see any of the prefilled details?

forest furnace
#

nope, it's all PII so it's not returned to you in the API

pseudo yacht
#

Okay, so if we look at the POST for req_uzXgK6kpS3lng4, that looks correct right?

forest furnace
#

seems perfectly good to me!

pseudo yacht
#

Then I create the AccountLink and redirect the user to it

#

So let me just do that now

#

First page I get

#

So it's prefilled at least, despite what my client's reports would say

#

But you don't get that when testing?

forest furnace
#

correct, I didn't get that page when testing

pseudo yacht
#

Is that test mode thing?

#

Or a 'my code is wrong' thing? 🙃

forest furnace
#

hopefully not, this should all work the same in live/test mode

#

I don't know what it is

#

maybe it's to do with capabilities, try using

capabilities={
    "card_payments": {"requested": True},
    "transfers": {"requested": True},
  },

in the account create call.

pseudo yacht
#

Hmm okay.

#

Slightly random but can do

#

Is changing capabilities easy if we need to in future?

#

Nvm, I've seen we can do it with Update

#

Okay the user still gets asked

forest furnace
#

I really don't know what's up with that then unfortunately. It does seem unexpected

pseudo yacht
#

The issue is that if the user picks the wrong choice, they can't go back and change it right?

#

So we have lots of individuals, and if they select 'Company', there's no way to fix it. And they can't go forward because they have to enter a company number (which of course they don't have)

#

If you have a workaround, that would be great.

forest furnace
#

yes, as far as I know the business_type can't be changed

#

I don't have a workaround, like I said this seems unexpected and I can't reproduce so seems more like a bug than anything

pseudo yacht
#

If you were to guess on the time frame for a fix for something like this., what would you think?

#

I've noticed that if I 'update' the account with the capabilities after creation, the AccountLink redirects to the user's dashboard (presumably just any update would be sufficient), and doesn't ever ask for a business type, maybe we'll have to do that instead. Feels ever so slightly hacky.

forest furnace
pseudo yacht
#

Bleh fair enough. I think it'll be quicker to do that workaround then.

#

Thanks for your help

forest furnace
#

I'll file the bug internally with the information from this thread (but it's better if you report it since then we can ask you for more information if needed and let you know the outcome)

pseudo yacht
#

Okay I'll also log it in then

forest furnace
#

I don't really understand your workaround but I don't think I'd recommend it, this should just be working as-is

pseudo yacht
#

So basically, I updated the account with those capabilities. After doing that, the AccountLink you get redirects to the Dashboard rather than the onboarding process and tells the user they need to add X and Y information (and seems to ask only for information applicable to the original selected business type).

#

So they still enter all the information, but we don't have that confusion any more.