#shaharyarilyas

1 messages · Page 1 of 1 (latest)

lusty crystalBOT
clever quiver
#

Hello! You would need to write code to do that. Are you a developer?

glad sparrow
#

yes

clever quiver
#

I recommend you set up a Webhook Endpoint to listen for payment_intent.succeeded Events. When you receive those Events you can update the Payment Intent with the metadata you want to add.

glad sparrow
#

@clever quiver One question which key in the paymentIntent data shows this payment was created from payment link because i have multiple ways for creating paymentIntent like tap-to-pay and wisepad3.

clever quiver
#

In that case you probably want to listen for checkout.session.completed instead. That will give you the Checkout Session created by the Payment Link instead of the lower-level Payment Intent.

glad sparrow
#

Thanks, it will helpful for me