#asadghafoor_14146

1 messages · Page 1 of 1 (latest)

oak ivyBOT
#

Hello asadghafoor_14146, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
asadghafoor_14146, 1 hour ago, 22 messages
asadghafoor_14146, 19 hours ago, 24 messages
asadghafoor_14146, 21 hours ago, 9 messages
asadghafoor_14146, 1 day ago, 31 messages

silent birch
#

Hi there!

violet cypress
#

No i don't find the logs

silent birch
#

I just checked acct_1O547DC2PIRP8u5T, and this account is not connected to any other Stripe account. So it's expected that you can't do transfers to it.

violet cypress
#

buti iconnect this account acct_1O547DC2PIRP8u5T"
with "acct_1O547DC2PIRP8u5T" this account plz check again

oak ivyBOT
violet cypress
#

buti iconnect this account acct_1O547DC2PIRP8u5T"
with "acct_1O547DC2PIRP8u5T" this account plz check again

fiery skiff
#

👋 taking over for my colleague. Let me catch up.

violet cypress
#

buti iconnect this account acct_1O547DC2PIRP8u5T"
with "acct_1O547DC2PIRP8u5T" this account plz check again

fiery skiff
#

acct_1O547DC2PIRP8u5T is the platform account

#

not the connected account

violet cypress
#

acct_1NqDYPGBlhCZzydA is this a connected account

#

or it's a acct_1NqDYPGBlhCZzydA plateform account

fiery skiff
#

both acct_1O547DC2PIRP8u5T and acct_1NqDYPGBlhCZzydA are standard accounts that don't have any connected accounts

#

how did you connect them?

#

what's the request ID?

violet cypress
#

i can help from the docs
"https://stripe.com/docs/connect/oauth-standard-accounts"
and give the yrl in my app like that "'https://connect.stripe.com/oauth/authorize?response_type=code&client_id=ca_OspQ94nMk8aL01kofyNSSPWPe2kRk4Jn&scope=read_write"
in this url i give my account client id. When i click on button then this form is open i fill this form and i get this url in return
"http://localhost:3000/?scope=read_write&code=ac_Ot9kYoPqZkBZP2nRkjz3V0IvSdJiShtq"
i grt the connected account id from this api
"// Set your secret key. Remember to switch to your live secret key in production.
// See your keys here: https://dashboard.stripe.com/apikeys
const stripe = require('stripe')('sk_test_26PHem9AhJZvU623DfE1x4sd');

const response = await stripe.oauth.token({
grant_type: 'authorization_code',
code: 'ac_123456789',
});

var connected_account_id = response.stripe_user_id;"
then i transfer amount from my palteform account to my connected account like this
"app.post('/amount_transfer', async (req, res) => {
try {
const transfer = await stripe.transfers.create({
amount: 400,
currency: 'usd',
destination: 'acct_1NqDYPGBlhCZzydA',
});
console.log(transfer);
} catch (err) {
res.status(500).json({ status: 500, message: err.message });
}
});" but it show error

fiery skiff
#

this is not an error

#

you just need to skip the form

violet cypress
#

which from i skip?

fiery skiff
#

there's a "Skip this form" button

#

in the orange warning banner

violet cypress
#

can u send me docs of this??

fiery skiff
#

it's in the screenshot you sent

#

if you open it

violet cypress
#

can u mention it and tell that my flow is correct or not??

fiery skiff
#

@violet cypress I don't think we're on the same page here

#

when the Stripe page opens

#

the one you shared in your screenshot

violet cypress
#

can u tell my connected account flow is correct according to docs

#

also deactivate my account acct_1NqDYPGBlhCZzydA
acct_1O547DC2PIRP8u5T
both of them

fiery skiff
#

I can't deactivate your account

#

I'm telling you that the flow is correct

#

you just need to go through with it till the end

violet cypress
#

if the flow is corect then why its generated plateform account i also implement the connectd account flow??

fiery skiff
#

you have created a standard account

#

I thought it was the platform

#

regardless

#

you haven't yet made the link between the 2 via OAuth

#

you just need to finish the process by clicking on "Skip this form" and running the code you shared earlier on the return url

violet cypress
#

acct_1O547DC2PIRP8u5T can u tell is it a connected accoun ??

fiery skiff
#

yes now it's connected

#

to this account acct_1NqDYPGBlhCZzydA

#

great!

violet cypress
#

can u tell i want to transfer money from acct_1NqDYPGBlhCZzydA
to acct_1O547DC2PIRP8u5T
but i got another issue which is
"{
"status": 500,
"message": "Funds can't be sent to accounts located in US because it's restricted outside of your platform's region; please contact us via https://support.stripe.com/contact for details."
}"
can i send money just in testing between them

fiery skiff
#

this account is in AU

#

you can't really do cross-border payouts

#

unless the platform account is in the US

violet cypress
#

okay it's done thank u