#pagaok-payments
1 messages · Page 1 of 1 (latest)
payment looks correctly addressed to the connected account...
I'm expecting this webhook we_1LUTibAti7rRHD03lra3b87p
to be triggered... but I see not logs neither in stripe nor in my platform ...
unless I made some mistake in webhook configuration
Which event do you want to be sent? The payment_intent.succeeded event?
I'm expecting that one....
but I'm listening all these
payment_intent.amount_capturable_updated
payment_intent.canceled
payment_intent.created
payment_intent.partially_funded
payment_intent.payment_failed
payment_intent.processing
payment_intent.requires_action
payment_intent.succeeded
but my server is not called
If that's the event you're expecting, then the webhook configuration you have is incorrect - the PI you sent over was created directly on the platform account and the payment_intent.xxx events will be sent to the normal account webhook. They aren't sent to your webhook endpoint at we_1LUTibAti7rRHD03lra3b87p because that's a connect webhook, which only listens for those events when they happen directly on the connect accounts (using the Stripe-account header). You need to create a new webhook that is a normal webhook - not a connect one
what's wrong in my code, to have the payment to connected account instead of normal account ?
or on the other hand
if I go to connect account I see the customer account that received the payment (t3@alexdran.net)
as far as I have understood is a connected account (unless I'm wrong)
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
The kind of payments you're doing are destination payments - https://stripe.com/docs/connect/destination-charges. They are created on the Platform, and then a portion of the funds are transferred to the connected account. The Payment Intent itself is on the Platform, which again, is why you need a normal webhook endpoint (not a connect one) on the platform to listen to these events.