#hamza8649
1 messages · Page 1 of 1 (latest)
Hello! 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.
- hamza8649, 4 minutes ago, 4 messages
- hamza-connect-sct, 15 hours ago, 12 messages
Hi, let me help you with this.
i can explain my use case ok one by one for better understanding ok
You can use transfer_group for this instead: https://docs.stripe.com/connect/separate-charges-and-transfers
i save the charge id in my data base when my payment intent is retrieved successfully its works ok when the seller request the transfer for the specific transaction because the amount in that charge id is same as the seller request so they dont exceed but issues comes when the seller request all their money in that case amount is always greate than the latest charge id so how can i do that?
I understood that, and suggested a solution above ☝️
This way you can add multiple charges into the same funds pool.
transfer_group will be the same for everyone or it will change for every intent?
I would suggest having the same for each Connected account.
ok i will try and let you know the further progress
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
will the transfer_group indicates the main platform parent account ?
no
it's just a way to identify the transaction as part of a group
so basically if you have a multi-party payment
and you want to identify that all of the transfers that you are making for the different merchants are part of the same group of transfers
so basically at time of creating the intent we set the transfer group ap our own wish of string or something which uniqely identifies our platform and when creating the transfer we give the same transfer group hence prohibting the amount exceed error ?
identifying the platform isn't the goal here
i separated the logic of withdraw all amount and withdraw amount against each transaction ok like if he wants to withdraw one transaction amount my back end will handle the transfer according to the charge id which is going well now i am trying the all amount i will let you know
ok sure
when i created the payment intent i give the transfer_group as a string which is same for all the intents and when we request the withdraw all amount of money using the same transfer_group it throw error insufficient amount of balance
i will give you the code images for better understanding
but you also need to pass the source_transaction
because you don't have it in your platform's balance
otherwise you need to use https://docs.stripe.com/testing#available-balance
to get it directly in your available balance
but source_transaction need the charge id which is the unique for each transaction but here we will give the access to withdraw all the money and that money is always less or equals to the platform balance so why they throw error
because the amount you just charged in the PI create method, is still not available in your balance
is the time required for coming in the platform balance ?
yes exactly
so basically the stripe requires time to transfer the amount coming from the buyer to platform stripe main account and when it is coming in the platform balance the error automatically resolves?
yes, and for testing purposes you can try the cards I sent you earlier
so you can bypass the pending balance
hi! I'm taking over this thread. let me know if you have any follow up questions.
ok sure
i read the documentation of the testing available balance but i dont know how can i send the funds to my stripe main account so when the connected accounts request for the withdraw they dont throw error insufficient balance?
you want to add money to your platform account in test mode?
you can make a payment using this test card to directly add the funds to your available balance: https://docs.stripe.com/testing#available-balance
can you please tell me in testing mode we manually add a payment in the available balance hence it was working fine but when in the live mode your partner said the stripe takes time to transfer the pending balance to available balance at main stripe account so how much time is required for changing the pending balance to available balance because for that work we will display the button for the withdraw at our platform
because if the seller has 100 dollar balance available for the withdraw they just request for that and your system will throw error
wait, your question was about test mode. are you now asking how to add balance to your account in live mode?
for live mode you should use this if you are in the US: https://docs.stripe.com/connect/top-ups
if you are not in the US, then you can ask Stripe support for help: https://support.stripe.com/contact
forget my previous query about the error i just ask at live how much time is required for the stripe needed to transfer the pending balance to the availble balance so our project is not throwing any error
The charged amount, less any Stripe fees, is initially reflected on the pending balance, and becomes available on a 7-day rolling basis.
https://docs.stripe.com/connect/account-balances