#ashish846955

1 messages · Page 1 of 1 (latest)

dusk windBOT
grave lotus
#

Are you using Stripe Connect?

glacial halo
#

Hello Thanks for reconnect

#

Yes stripe connect is successfull

#

but i need split payment code with card informtion

#

I checked in stripe's doc but I can't find the code how to split after payment is cut from the card.

grave lotus
glacial halo
#

Hello

#

I have connect two account and split the payement

#

this flow is working fine

#

but my connected account is not showing any transaction

#

This is my connected account details

#

and after I login this account here is no transaction is shown!

grave lotus
#

Can you share the transfer request ID (req_xxx) that you split the payment?

glacial halo
#

Yes

dusk windBOT
fading quail
#

nothing about that Charge involves Connect or another account so you must be mistaken

glacial halo
#

Here is my code could you please verified this code ?

#

this code is proper or not!

fading quail
#

this is a legacy way to integrate, you should not be using Charges or Tokens in a new Stripe integration

#

but in any case the code seems correct enough and would probably do something

glacial halo
#

What changes do I have to make in this?

#

Use sthe ame code but one total amount transaction is proper but sthe plit amount is not proper!

fading quail
#

that code doesn't make sense since a) you never confirm the PaymentIntent and b) $charge is not defined

glacial halo
#

So what I should do it

#

I can't use this because all mine are custom code

fading quail
#

not sure what that means.

dusk windBOT
glacial halo
#

Hello I have checked my connected account id is different and main account is different.

teal cloud
#

Hi! I'm taking over this thread.

#

Can you clarify what is your question?

glacial halo
#

Last screenshot is my main account

#

first screenshot is my second accound

#

second account connect with main account

#

and i have split the payment

#

here is update the amount

#

but here is not showing any transactions

teal cloud
#

Did you make a request to create a payment on the connected account? If so, can you share the request ID (req_xxx) or PaymentIntent ID (pi_xxx)?

glacial halo
#

I have not use payment intent code

#

Here is my code

teal cloud
#

Did your code work?

glacial halo
#

Yes my code is work but my section account in not showing any transaction

#

section account is connected to main account

teal cloud
#

Also note that your code is using raw card numubers, which we don't recommend using at all since it requires your company to be PCI compliant.

glacial halo
#

req_uPYZ93bAR46c0C

teal cloud
#

In this request you transferred 2$ from acct_1KfsFjGwCBh3ZCzE to acct_1NIRgH2cx2Iz6kBO.

glacial halo
#

Yes ,
acct_1NIRgH2cx2Iz6kBO
This id is connected account id

#

my second account id is acct_1NH2vISAlUGLOMhV

teal cloud
#

I do see the transfer on the connected account. so what is the issue?

glacial halo
#

This is my main account id

  1. acct_1KfsFjGwCBh3ZCzE
    This is my connected account id
    2.acct_1NIRgH2cx2Iz6kBO
    this is my second account id
  2. acct_1NH2vISAlUGLOMhV
#

after connnct account to created to new account id

teal cloud
#

And what is your question?

glacial halo
#

My Question is
I have a main stripe account in which I connect another account, after connecting I get a new account id for the connected account, which I use to make split payments, but the transaction does not show in my second account.

teal cloud
#

The request you shared (req_uPYZ93bAR46c0C) worked, so the account acct_1NIRgH2cx2Iz6kBO got $2 as planned.
If you want account acct_1NH2vISAlUGLOMhV to get $2, then you need to set a different destination account ID in your request.

glacial halo
#

One account needs to be connected to another for split payments so that when a transaction occurs, a connected id is created. Therefore, if a new payment is made, the transaction amount is shown in the first account and in the generated account id, but it is not displayed in the second account. As a result, the transaction amount should be displayed in the second account as well.

#

I have use this account id

#

acct_1NH2vISAlUGLOMhV

#

so showing some error

teal cloud
#

Can you share the request ID of the error?

glacial halo
#

req_kIhxvzWFmaS4I7

teal cloud
#

You set destination: "acct_1NH2vISAlUGLOMhV", but acct_1NH2vISAlUGLOMhV is not connected to you platform acount, so it's expected to not work.

#

If you want to transfer money between Stripe accounts, the accounts need to use Stripe Connect.

glacial halo
#

Yes I have connted but after conntect create new account id

teal cloud
#

acct_1NH2vISAlUGLOMhV is not connected to any other Stripe account. So you cannot send transfers to it.

glacial halo
#

Okay so how can i connect using php code

dusk windBOT
teal cloud
#

You want to connect an existing Stripe account to your platform?

glacial halo
#

Tes

teal cloud
#

Then check the link I shared above.

glacial halo
#

how can i get client id ?

teal cloud