#dalbeer
1 messages · Page 1 of 1 (latest)
Hi there, how can I help?
hi, i want to integrate the express connect with django can you share something so that i can check what can i missing
I don't have anything specific for django. If you want to get started with Connect, you should read https://stripe.com/docs/connect/explore-connect-guide
https://i.imgur.com/q6de5ti.png
actually i got issue can you please check the screenshot
why its restricted?
https://stripe.com/docs/api/accounts/object#account_object-requirements that's because some information are missing, you should check the requirements hash and provide accordingly.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
stripe_account = stripe.Account.create(
type="custom",
country="US",
email=user.email,
external_account={
"object": "bank_account",
"country": "US",
"currency": "usd",
"account_number": "000123456789",
"routing_number": "110000000",
},
capabilities={"card_payments": {"requested": True}, "transfers": {"requested": True}},
business_type="individual",
business_profile={
},
)
ip_address = socket.gethostbyname(socket.gethostname())
acc = stripe.Account.modify(
stripe_account.id,
# tos_acceptance={"date": int(datetime.now().timestamp()), "ip": ip_address},
tos_acceptance={"date": 1609798905, "ip": "8.8.8.8"},
)
this is the code
hi there
Have you checked the requirements hash?
yes i checked it
the fields are totally different in the requirements hash
if i fill proper these fields below in the screenshot manually then account status change to completed
https://i.imgur.com/iVR1v2N.png
Yes you'll need to complete the onboarding process so that your connect account is ready for payments and payouts
what does this mean?
Error: Request req_8lovFhobISgTnj: You cannot accept the Terms of Service on behalf of Standard and Express connected accounts.
this error occurs only when the type is express not in custom
stripe_account = stripe.Account.create(
type="express",
country="US",
)
It means you, as the platform, can't accept the Terms of Service on behalf of Standard and Express connected accounts.
ok then why its not applicable for custom type
Can you tell me the problem that you want to solve? so that I can help with a solution accordingly.
i have problem with this but you already said about this above can you explain more what requirements should i send with this ?
stripe_account = stripe.Account.create(
type="express",
country="US",
)
The information that you need to provided can be found fron the account's requirements hash.
Can you retrieve the requirements hash show me what it contains?
you are telling about this ?
https://i.imgur.com/yNaQvmY.png
Do you know how to retrieve the connect account object?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
like this ?
stripe.Account.retrieve("account_id")
yep, that's correct
can you please tell me about these
"currently_due": [
"business_profile.mcc",
"business_profile.url",
"individual.address.city",
"individual.address.line1",
"individual.address.postal_code",
"individual.address.state",
"individual.dob.day",
"individual.dob.month",
"individual.dob.year",
"individual.email",
"individual.first_name",
"individual.last_name",
"individual.phone",
"individual.ssn_last_4",
"tos_acceptance.date",
"tos_acceptance.ip"
],
how can i send these while creating the account
stripe.Account.create()
hi there
you can provide most of those fields / values via the create Account API. However, the Express account will need to accept the Terms of Service (TOS) via either their Dashboard or a hosted onboarding form. i.e. you cannot accept the TOS on behalf of the Express account
how can it will be open a hosted onboarding form