#dennis-transfer-testmode

1 messages · Page 1 of 1 (latest)

frigid merlinBOT
latent tree
#

dennis-transfer-testmode

#

Hey @quaint rock. The setting is global yes, it will apply to your Live mode and Test mode balance.

#

What are you really trying to test? It doesn't make sense usually to try to create Transfers if you plan to stay on automatic Payouts in the first place

quaint rock
#

We are currently testing scenarios where we trigger two transfers based on one payment, one transfer coupled to the source transaction and one without, but the one without seems to just exceed the balance.

latent tree
#

Sure but if you plan to do this you will have to switch to manual Payouts.

quaint rock
#

Ah, also in productive operation?

#

We thought if the funds are sufficient, with a weekly payment, it is ok?

latent tree
#

Usually no it isn't okay. If you want to be able to do Transfers without source_transaction you need to build a real balance in your account which means not being on automatic Payouts, no way around this

quaint rock
#

But even if there is enough money, at the time of transfer it would not work and return the error? So basically transfers without source transaction are only possible with manual payouts?

latent tree
#

yes

quaint rock
#

Okay, that changes our entire business logic and turns it upside down for once. 😄

#

Okay, thank you very much. Then we'll have to see how we can implement it. Are manual payouts final or can they still be corrected for a certain period of time?

latent tree
#

I don't know what that could mean "final" or "be corrected"

quaint rock
#

I meant when I manually trigger a payout, can I change it or undo it. And how fast is this then executed?

#

And how do manual withdrawals behave when chargebacks or similar occur and the balance is insufficient? Will a SEPA direct debit continue to be triggered to top up the balance, as is the case now?

latent tree
#

if you create a Payout, you can't "amend" it though you can cancel it for a little bit of time https://stripe.com/docs/api/payouts/cancel
And if you have a negative balance then yes we'd debit your bank account on file.

A lot of this is better directed at our support team though as we focus more on your code here. You should contact them at https://support.stripe.com/contact to discuss all of this

quaint rock
#

Thank you, unfortunately this is very poorly or vaguely described in the documentation.

#

But we seem to still have the problem with the error message even though I just charged 10k.

latent tree
#

I'm happy to help if you provide a lot more specific details. The balance isn't increased instantly since the funds are pending for multiple days by default

quaint rock
#

In test env?

latent tree
#

of course

#

otherwise you'd think everything is instant and go down when you launch in prod

quaint rock
#

Hmm

#

Is that okay or does it have to be triggered via "Pay out to bank" now?

latent tree
#

That takes a while too and you can't bypass the delay. Hence the section I added

quaint rock
#

The test payment means are of no use to me if I want to execute it without a source transaction. Or do you mean a little money first by simulated transactions?

#

Is there a section in the documentation where the delays in charging are described?

latent tree
#

1/ Create a PaymentIntent for 100k€
2/ Confirm it with one of those test cards
3/ You now have 100k€ (minus our fee) in your balance

quaint rock
#

Ok

#

Thanks

frigid merlinBOT
quaint rock
#

Are funds broken down by payment method (such as credit card and SEPA Debit)?

tawdry narwhal
#

👋 hopping in here!

quaint rock
#

(Status 400) (Request req_uWAa6CCOJiGRdE) You have insufficient funds in your Stripe account for this transfer. Your SEPA balance is too low. You can use the /v1/balance endpoint to view your Stripe balance (for more details, see stripe.com/docs/api#balance).

#

Because the funds are sufficient in themselves.

latent tree
#

Did you look at your balance first? What do you see, what appears there, etc.

quaint rock
latent tree
#

I want to make sure you try things on your own as the developer first. There's a clear next step in that exact error message that tells yo exactly what you need to do

quaint rock
#

We've been trying it out all along.

latent tree
#

Not sure what you mean. You show pictures of the Dashboard itself, not real exact code and exact response.

#

Also are you on manual payout already in that account? If not it still won't work. And remember that changing the setting will immediately impact your Live mode environment

quaint rock
#

Yes, we have already adjusted.

#

And yes, we are aware 🙂

#

I then made â 10,000€ transactions as suggested by means of several payments, as you can see from the balance.

tawdry narwhal
#

So have you actually called https://stripe.com/docs/api/balance/balance_retrieve and checked that you have available balance to actually transfer? It sounds like you're expecting that transfer request to be successful, but it sounds like you haven't actually confirmed through the API that those funds are actually available

quaint rock
#

It is under "pending"

tawdry narwhal
quaint rock
#

You mean they can't be created from pending funds?

tawdry narwhal
#

oops - sorry about that

quaint rock
#

Okay, I understand. How do I get them from pending to available?

#

I had understood it to mean that when we execute real transactions, we can immediately dispose of the balance in the test?

#

Or do we now have to wait several days to test transfers? That can't be very effective, can it?

tawdry narwhal
#

But yes, in the real world you'd have to wait a few days for those funds to actually become available before transferring

quaint rock
#

Ah Ok, my mistake, sorry then. I had understood that the 4242.... as always, works for this.

tawdry narwhal
#

Yeah try it with those other cards instead and see how that goes

quaint rock
#

Okay, thanks. Seems to work. I just took Payment Links and simulated it with that.

#

Thanks for your help. Unfortunately, the balance thing is a little confusing.... what is the source_type for?

tawdry narwhal
#

source_type is something you set if you want to pull from a specific balance type. If you look at the response you got back from https://stripe.com/docs/api/balance/balance_retrieve you can see that available.source_types is an array that will show you how much balance for each type