#andora_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ 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.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ 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/1382634247512391740
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
My guess is that it is related to the fact paypal does not transfer the fund right away to stripe but it does that even in test mode
and from the webhooks event I checked, this is the webhooks event triggered
2025-06-12 10:00:06 --> payment_intent.requires_action [evt_3RZ63NCUqha3ZE4A1N7s6hJL]
2025-06-12 10:00:06 --> payment_intent.created [evt_3RZ63NCUqha3ZE4A1TZgN4Mf]
2025-06-12 10:00:06 <-- [200] POST http://localhost:8080/wp-json/wsc/v1/webhook [evt_3RZ63NCUqha3ZE4A1N7s6hJL]
2025-06-12 10:00:06 <-- [200] POST http://localhost:8080/wp-json/wsc/v1/webhook [evt_3RZ63NCUqha3ZE4A1TZgN4Mf]
2025-06-12 10:00:10 --> payment_intent.succeeded [evt_3RZ63NCUqha3ZE4A1rlcAGe2]
2025-06-12 10:00:10 --> charge.succeeded [evt_3RZ63NCUqha3ZE4A1BQcfRty]
2025-06-12 10:00:10 <-- [200] POST http://localhost:8080/wp-json/wsc/v1/webhook [evt_3RZ63NCUqha3ZE4A1rlcAGe2]
2025-06-12 10:00:10 --> checkout.session.completed [evt_1RZ63SCUqha3ZE4AWJWevaIr]
2025-06-12 10:00:10 <-- [200] POST http://localhost:8080/wp-json/wsc/v1/webhook [evt_3RZ63NCUqha3ZE4A1BQcfRty]
2025-06-12 10:00:11 <-- [200] POST http://localhost:8080/wp-json/wsc/v1/webhook [evt_1RZ63SCUqha3ZE4AWJWevaIr]
2025-06-12 10:00:14 --> charge.updated [evt_3RZ63NCUqha3ZE4A1RODLrGB]
2025-06-12 10:00:14 <-- [200] POST http://localhost:8080/wp-json/wsc/v1/webhook [evt_3RZ63NCUqha3ZE4A1RODLrGB]
regardless of the event you're using https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=stripe-hosted#transfer-availability
you need to pass the source_transaction
to avoid the insufficient funds
so if I add the source_transaction, it will send the transfer only when the money is available instead ?
no but it will "reserve" the amount coming from that source transaction to fund the transfer
Ok I understand, I added the source_transaction and it is now working in test mode. Can you confirm that it will behave the same in production ?
yes
this is the behavior that you want
ok this perfect, thank you for your help, I think this is solved now
thank you for your time
sure thing, would you mind me closing the thread then?