#mlo300

1 messages · Page 1 of 1 (latest)

serene escarpBOT
elder ferry
#

Hi there

#

Yep

#

You would use payment_intent.succeeded for this

wicked rain
#

I can also use it with external checkouts right?

hexed anchor
#

n the stripe dashboard you only add the webhook URL, so whatever URL you mention you will get data over there irrespective of platform.

wicked rain
#

Ok thank you very much, one last thing is there an api that allows me to add it automatically?

elder ferry
#

An API to add the webhook endpoint?

#

But you still need to write code for your Webhook handler

wicked rain
#

Ok thanks because I would like to use webhooks and then connect with stripe connect with express accounts and automatically send payments to affiliates whenever an order comes in

elder ferry
#

That should work fine as long as your Connected Accounts are in the same region

wicked rain
#

Ok thanks because I would like to use webhooks and then connect with stripe connect with express accounts and automatically send payments to affiliates whenever an order comes in

#

How can I test webhooks in localhost?

#

To also test stripe connect how do I need to have two stripe accounts?

elder ferry
#

And you would create test Connected Accounts to test with, yes.

wicked rain
#

to get two accounts connected with connect what can I use?

elder ferry
#

You would just follow our docs for creating and onboarding an account

#

Which type of Connected Accounts do you plan to work with?

wicked rain
#

express

elder ferry
wicked rain
#

I am trying to create a connect account from the dashboard but it doesn't let me do it I can't understand could you give me some explanation please?

elder ferry
#

Going to need a lot more info about what "couldn't do it" means

#

Like do you see an error?

#

What does "it doesn't let me do it" mean?

wicked rain
#

Can I connect two accounts with connect for example via api without using oauth2?

elder ferry
#

Yep you create the Account using the API like in the link I shared above

wicked rain
#

A technical question about stripe if a customer buys a product for example 20 euro I can immediately turn the 20 euro back to connect?

elder ferry
#

you can transfer it to a Connected Account, yes.

serene escarpBOT
wicked rain
#

in test way I created a payment to the client of 40 euros, which was successful.
Then I tried to transfer them to connect and it tells me available balance 0 euro how can I solve?

elder ferry
wicked rain
#

im using the card 4242 4242 4242 4242

tawdry current
#

So since you aren't using the available balance card as suggested above, you need to set source_transaction

wicked rain
#

In live mode when money comes in from a customer who paid by card it becomes immediately available how does it work?

tawdry current
#

Well funds don't settle immediately

wicked rain
#

So via source_transaction indicating for example customer's payment id of say $20 I can transfer the funds even though I don't currently have them available in my stripe account?

tawdry current
#

Yeah because it just pulls the funds from the payment intent itself

wicked rain
#

ok the itent of payment must be successful?

tawdry current
#

yep

wicked rain
#

Perfect can you send me the doc to create a webhook node that allows me to receive, notification of when a payment is successful?

tawdry current
wicked rain
#

another question but when I transfer money to connet via the source_transaction method does the funds transfer time go down?

tawdry current
#

Should be the same

wicked rain
#

I was told that there is a way to be able to lower ti times through bees don't you know what it would be?

tawdry current
#

Idk what you mean

#

I still recommend using one of these cards though: https://stripe.com/docs/testing#available-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.

#

The transfer should be immediate

wicked rain
tawdry current
#

That's why I linked the above cards

#

They bypass the pending balance

wicked rain
#

Yes but I would like to understand one thing.
Because I don't remember where in the documentation but I read that by transferring money to connect you could decrease the waiting time in the first account before the funds are available it takes 7 days while on connect two but I don't remember where if you know could you tell me?

tawdry current
#

There shouldn't be a waiting period if you use the cards I linked

#

They bypass the pending balance

wicked rain
#

Yes of course. but I am talking about livemode.

tawdry current
#

Well in live mode you can't bypass the pending balance

wicked rain
#

I don't want to bypass it but wait less.
I can't remember where but the wait times change between the connect account and the main account

tawdry current
#

I'm not sure. We're not really experts with settlement times in here anyway

#

Recommend asking our support team: https://support.stripe.com/contact

wicked rain
#

sorry I misspoke once I move the money to the connect the money will have the wait time of the connect?

tawdry current
#

That depends on whether or not you pass on_behalf_of

wicked rain
#

However, this during the payment intent how can I do it later?

tawdry current
#

on_behalf_of needs to be set on the payment intent

wicked rain
#

Yes but I can't edit the checkout but only the post

tawdry current
#

What do you mean?

#

on_behalf_of can be set in checkout too

wicked rain
#

No I need to set it post payment completed

tawdry current
#

You can't do that

#

on_behalf_of indicates where funds settle

#

You can't set it after the funds have been captured

#

We need to know where to settle the funds before payment is captured

wicked rain
#

Can't I change payment intent later?

tawdry current
#

What do you mean?

serene escarpBOT
wicked rain
#

I am using the checkout of shopify and I have no way to go to work on the payment intent, so I would need other options to use this on_behalf_of parameter

worthy relic
#

Hopping in here since codename_duchess has to head out soon

#

If you're using Checkout, then really the only option is to set payment_intent_data.on_behalf_of when the session is created - there's no way to modify it afterwards

#

I'd recommend talking to shopify to see what they recommend/see if they offer any alternatives

#

Or you'll need to move to a different solution/plugin

wicked rain
#

ok is there an event on webhooks?

worthy relic
#

There's many different types of events - what kind of event do you need?

wicked rain
#

There is no event that allows me to create it shortly before the transaction is actually executed

worthy relic
#

No, there's no event for that with checkout sessions

wicked rain
#

Or if there is a way to tell stripe that by default all the payment intents it will make as a base will start from that

worthy relic
#

No, this is something you HAVE to set in your code - there's no default or anything

wicked rain
#

So I can't change it using an update or maybe configure stripe so that every time someone attempts a payment
Make it in a way and manner that they have to confirm I by hand don't know however there has to be a way

worthy relic
#

Again, if you're using Checkout then the ONLY way to do this is by setting it when the Checkout Session is created