#GianFranco-transaction-ID

1 messages · Page 1 of 1 (latest)

balmy fossil
#

Hi there

#

When you say "Transaction ID", what ID are you referring to, exactly?

#

The PaymentIntent ID?

reef vessel
#

I mean, transaction ID

#

Pls check img

balmy fossil
#

Got it

reef vessel
balmy fossil
#

So that is the PaymentIntent ID

reef vessel
#

I see

balmy fossil
#

The recommended route here is to use Webhooks

#

You would listen for payment_intent.succeeded for fulfillment

reef vessel
#

Could you pls give me some code example?

balmy fossil
reef vessel
#

Is there any option without webhooks?

balmy fossil
#

The other option would be to pass the PaymentIntent client-side alongside the client-secret. Then you do a round-trip to your server after the presentPaymentSheet promise resolves to retrieve the PaymentIntent on your server.

reef vessel
#

got it

#

thank you!