#jft63
1 messages ยท Page 1 of 1 (latest)
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
no it is fake data ๐
When you get the API response, what are you seeing in the requirements hash?
I get :
"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": []
},
It sounds like this is the phone number you need to add: business_profile.support_phone
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": "+,,,",
},
)
I think it always asks you for phone number in onboarding. I don't think you can prefill that info
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 ?
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
As you can see in my previous message ihave tried to add support Phone without success
Is this for an Express account?
No a standard
Hmmm, so you're using Account Links to onboard then? Or are you using OAuth?
I am using the Account Links to redirect the user to the onboard process
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
by the way these are complete fake data
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.
I created acct_1N5wEHPBcsMaaDhC
and the screenshot where you see the phone number being asked?
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
oh ok got it
I will continue the process and check
thanks for your quick replies and support
np glad to help!