#jft63

1 messages ยท Page 1 of 1 (latest)

thin brambleBOT
gritty knot
#

If that is live info, you may want to redact the phone numbers and email addresses

#

This is a public server, so live credentials are best left in a redacted state

hard pecan
#

no it is fake data ๐Ÿ™‚

gritty knot
#

When you get the API response, what are you seeing in the requirements hash?

hard pecan
#
"requirements": {
    "alternatives": [],
    "current_deadline": null,
    "currently_due": [
      "business_profile.product_description",
      "business_profile.support_phone",
      "business_profile.url",
      "external_account",
      "tos_acceptance.date",
      "tos_acceptance.ip"
    ],
    "disabled_reason": "requirements.past_due",
    "errors": [],
    "eventually_due": [
      "business_profile.product_description",
      "business_profile.support_phone",
      "business_profile.url",
      "external_account",
      "tos_acceptance.date",
      "tos_acceptance.ip"
    ],
    "past_due": [
      "external_account",
      "tos_acceptance.date",
      "tos_acceptance.ip"
    ],
    "pending_verification": []
  },
gritty knot
#

It sounds like this is the phone number you need to add: business_profile.support_phone

hard pecan
#

it is still asking me the phone number in the onboarding process

#

"requirements": {
"alternatives": [],
"current_deadline": null,
"currently_due": [
"business_profile.product_description",
"business_profile.url",
"external_account",
"tos_acceptance.date",
"tos_acceptance.ip"
],
"disabled_reason": "requirements.past_due",
"errors": [],
"eventually_due": [
"business_profile.product_description",
"business_profile.url",
"external_account",
"tos_acceptance.date",
"tos_acceptance.ip"
],
"past_due": [
"external_account",
"tos_acceptance.date",
"tos_acceptance.ip"
],
"pending_verification": []
},

#

here is my request :

account = stripe.Account.create(
type="standard",
country="FR",
email=,,,,",
business_type="individual",
individual={
"address":{
"line1": "11 RUE DES CERISIERS",
"line2": "",
"postal_code": "63100",
"city": "CLERMONT FERRAND",
"country": "FR",
},
"dob":{
"day": 30,
"month": 11,
"year": 2000,
},
"email":",,,",
"first_name":"Titi",
"last_name":"Toto",
"phone":"+,,,",
"address":{
"line1": "11 RUE DES CERISIERS",
"line2": "",
"postal_code": "63100",
"city": "CLERMONT FERRAND",
"country": "FR",
},
},
default_currency="EUR",
business_profile={
"support_phone": "+,,,",
},
)

gritty knot
#

I think it always asks you for phone number in onboarding. I don't think you can prefill that info

hard pecan
#

why is it an attribute of the request in that case ?

#

sounds weird

#

do you have the list of stuff we can prefill to avoid asking to the user in onboarding process ?

gritty knot
#

Have you tried creating the account with business_profile.support_phone to see if that prefills it? you're right, in that this seems counterintuitive, so it's worth testing to see if that gets the behavior you're looking for

hard pecan
#

As you can see in my previous message ihave tried to add support Phone without success

gritty knot
#

Is this for an Express account?

hard pecan
#

No a standard

gritty knot
#

Hmmm, so you're using Account Links to onboard then? Or are you using OAuth?

thin brambleBOT
hard pecan
#

I am using the Account Links to redirect the user to the onboard process

cold sphinx
#

hello! give me a second to answer

#

side note - can you remove the full request you pasted in this thread? look like real addresses and phone numbers etc, this is a public Discord server

#

pls remove across all your msgs

#

instead, share pls a request ID with me for the request, not the request body or response

#

I can pull up the body etc from the request ID

hard pecan
#

oh nice ok

#

I updated my message in main thread

cold sphinx
#

there's like 3-4 msgs

hard pecan
#

by the way these are complete fake data

cold sphinx
#

gotcha

so can you share a screenshot of the Stripe onboarding page for the Standard account where it asks for phone number? wonder if it is for something other than the individual hash, possibly for account creation e.g.

hard pecan
#

I created acct_1N5wEHPBcsMaaDhC

cold sphinx
#

and the screenshot where you see the phone number being asked?

hard pecan
cold sphinx
#

yeah so that's for account/login creation/authentication

#

there's no way to prefill that since that creates the account and login etc at Stripe

hard pecan
#

oh ok got it

#

I will continue the process and check

#

thanks for your quick replies and support

thin brambleBOT
cold sphinx
#

np glad to help!