#dalbeer

1 messages · Page 1 of 1 (latest)

inland arrowBOT
tawny atlas
#

Hi there, how can I help?

sullen canyon
#

hi, i want to integrate the express connect with django can you share something so that i can check what can i missing

tawny atlas
sullen canyon
#

why its restricted?

tawny atlas
sullen canyon
#

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

sullen canyon
#

hi there

tawny atlas
#

Have you checked the requirements hash?

sullen canyon
#

yes i checked it

#

the fields are totally different in the requirements hash

tawny atlas
#

Yes you'll need to complete the onboarding process so that your connect account is ready for payments and payouts

sullen canyon
#

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",
)

tawny atlas
#

It means you, as the platform, can't accept the Terms of Service on behalf of Standard and Express connected accounts.

sullen canyon
#

ok then why its not applicable for custom type

tawny atlas
#

Can you tell me the problem that you want to solve? so that I can help with a solution accordingly.

sullen canyon
#

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",
)

tawny atlas
#

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?

sullen canyon
tawny atlas
#

Do you know how to retrieve the connect account object?

sullen canyon
#

like this ?
stripe.Account.retrieve("account_id")

inland arrowBOT
soft storm
#

yep, that's correct

sullen canyon
#

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

soft storm
#

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

sullen canyon
#

how can it will be open a hosted onboarding form