#ashish846955
1 messages · Page 1 of 1 (latest)
Are you using Stripe Connect?
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.
Sorry, I don't follow you. Stripe Connect is the product that Stripe offers for market place to split payments between sellers: https://stripe.com/docs/connect/explore-connect-guide
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!
Can you share the transfer request ID (req_xxx) that you split the payment?
Yes
https://dashboard.stripe.com/test/payments/ch_3NIRyZGwCBh3ZCzE08pUodWO
Here is my transaction link
nothing about that Charge involves Connect or another account so you must be mistaken
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
try looking at your logs for errors : https://dashboard.stripe.com/test/logs/ and also read this
https://stripe.com/docs/connect/charges-transfers#transfer-availability
https://stackoverflow.com/questions/55686949/why-i-am-getting-insufficient-funds-when-trying-stripe-transfers-even-though-i/55687932#55687932
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!
that code doesn't make sense since a) you never confirm the PaymentIntent and b) $charge is not defined
I'd suggest starting over and building a normal Stripe integration first that properly collects card details in a PCI compliant way using Elements and confirms a PaymentIntent on the frontend : https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements and once you have that working, looking into expanding to use Connect.
not sure what that means.
do you work for a company that is PCI level 1 certified and completes a SAQ D PCI compliance declaration every year?(https://listings.pcisecuritystandards.org/documents/SAQ_D_v3_Merchant.pdf) If not, you can not integrate the way you do in that code of directly sending card numbers from your backend PHP server to our API. I suggest following our detailed full guides like https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements to build a payments integration.
Hello I have checked my connected account id is different and main account is different.
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
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)?
Did your code work?
Yes my code is work but my section account in not showing any transaction
section account is connected to main account
Yes my code is work
Can you share the request ID (req_xxx)? You can find it here https://dashboard.stripe.com/test/logs
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.
req_uPYZ93bAR46c0C
In this request you transferred 2$ from acct_1KfsFjGwCBh3ZCzE to acct_1NIRgH2cx2Iz6kBO.
Yes ,
acct_1NIRgH2cx2Iz6kBO
This id is connected account id
my second account id is acct_1NH2vISAlUGLOMhV
I do see the transfer on the connected account. so what is the issue?
This is my main account id
- acct_1KfsFjGwCBh3ZCzE
This is my connected account id
2.acct_1NIRgH2cx2Iz6kBO
this is my second account id - acct_1NH2vISAlUGLOMhV
after connnct account to created to new account id
And what is your question?
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.
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.
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
Can you share the request ID of the error?
req_kIhxvzWFmaS4I7
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.
Yes I have connted but after conntect create new account id
acct_1NH2vISAlUGLOMhV is not connected to any other Stripe account. So you cannot send transfers to it.
Okay so how can i connect using php code
Tes
Then check the link I shared above.
how can i get client id ?
Bottom of this page: https://dashboard.stripe.com/test/settings/connect