#jo_error
1 messages ¡ Page 1 of 1 (latest)
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.
- jo_best-practices, 2 days ago, 11 messages
- jo07453, 6 days ago, 22 messages
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1212940293880414249
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
https://docs.stripe.com/testing#available-balance you can use these test cards create charges, and the funds will be immeidately available in your balance.
but how can I create a charge without having that card as a payment method?
You mean you don't have an integraiton to accept payments?
yes I have. but where do I setup those cards to than use it as a payment method when creating a charge?
These cards are also available as payment methods https://docs.stripe.com/testing?testing-method=payment-methods#available-balance
ohhhh I see. So if I create a charge and use one of those payment methods I will get funds, right?
Yes
$charge = \Stripe\Charge::create([
'amount' => 2000,
'currency' => 'usd',
'source' => 'tok_visa',
'description' => 'Example charge',
]);
and tok_visa being the paymentmethod id I guess
Ah, you are using the charges API, these test cards are also available in tokens https://docs.stripe.com/testing?testing-method=tokens#available-balance
I want to deposit funds to test transfers for connect accounts
Once you have funds available in your account, you can then transfer funds to your connected accounts
well I have done exactly this
$charge = \Stripe\Charge::create([
'amount' => 20000,
'currency' => 'usd',
'source' => 'tok_visa',
'description' => 'Example charge',
]);
I got the response but my funds 0 đ˘
My funds look like this
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Hmm, wait you are still using tok_visa
and when doing a transfer I see
details, see stripe.com/docs/api#balance).
You should use tok_bypassPending instead.