#Gerald-webhook

1 messages · Page 1 of 1 (latest)

small field
#

Hi there

#

Happy to help, can you give me a lot more details.

dry sluice
#

hi bismarck, I have the following paymentIntent const paymentIntent = await stripe.paymentIntents.create( { amount: Math.round(amount * constants.DOLLARS_TO_CENTS), currency: "SGD", customer, payment_method: paymentMethod, off_session: true, confirm: true, application_fee_amount: Math.round(adminCommission * constants.DOLLARS_TO_CENTS) - stripeFixedFee * constants.DOLLARS_TO_CENTS, }, { stripeAccount: merchantInfo.stripeId, }, );

#

when succeeded, the webhook doesnt get called. Its a direct charge with cloned customer details

small field
#

Do you have a Connect endpoint set up?

#

As opposed to a Direct endpoint?

dry sluice
#

oh

#

nope

small field
#

🙂

#

That's why

dry sluice
#

oh!

small field
dry sluice
#

how do i do that

small field
#

If creating through the Dashboard then you select the "Listen to Events on Connected accounts" option when you create the endpoint

dry sluice
#

give me a moment

small field
#

Sure

dry sluice
#

solve it thanks!