#jo_error

1 messages ¡ Page 1 of 1 (latest)

quick idolBOT
dim socketBOT
#

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.

quick idolBOT
#

👋 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.

edgy steppe
#

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.

Use test cards to validate your Stripe integration without moving real money. Test a variety of international scenarios, including successful and declined payments, card errors, disputes, and bank authentication. You can also test non-card payment methods and redirects.

civic knoll
#

but how can I create a charge without having that card as a payment method?

edgy steppe
#

You mean you don't have an integraiton to accept payments?

civic knoll
#

yes I have. but where do I setup those cards to than use it as a payment method when creating a charge?

edgy steppe
civic knoll
#

ohhhh I see. So if I create a charge and use one of those payment methods I will get funds, right?

edgy steppe
#

Yes

civic knoll
#
$charge = \Stripe\Charge::create([
        'amount' => 2000, 
        'currency' => 'usd',
        'source' => 'tok_visa',
        'description' => 'Example charge',
    ]);

and tok_visa being the paymentmethod id I guess

edgy steppe
civic knoll
#

I want to deposit funds to test transfers for connect accounts

edgy steppe
#

Once you have funds available in your account, you can then transfer funds to your connected accounts

civic knoll
#

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

edgy steppe
#

Hmm, wait you are still using tok_visa

civic knoll
#

and when doing a transfer I see

details, see stripe.com/docs/api#balance).
edgy steppe
#

You should use tok_bypassPending instead.

civic knoll
#

okkkkk great!

#

it worked now

#

thanks ❤️ you guys are really life saviors ahahha