#andora_webhooks

1 messages ยท Page 1 of 1 (latest)

copper pawnBOT
#

๐Ÿ‘‹ 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.

meager totem
#

๐Ÿ‘‹ happy to help

long locust
#

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]
meager totem
#

you need to pass the source_transaction

#

to avoid the insufficient funds

long locust
#

so if I add the source_transaction, it will send the transfer only when the money is available instead ?

meager totem
#

no but it will "reserve" the amount coming from that source transaction to fund the transfer

long locust
#

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 ?

long locust
#

ok this perfect, thank you for your help, I think this is solved now

#

thank you for your time

meager totem
#

sure thing, would you mind me closing the thread then?