#Pankaj-webhook
1 messages · Page 1 of 1 (latest)
$paymentIntent = $event->data->object;
I am trying to use webhook to get ID related to the order transaction
But this we render the complete order detail but i want only ID
{
"id": "pi_3Kyd6h2svt92FOo90ar7QeOV",
"object": "payment_intent",
"last_payment_error": null,
"livemode": false,
"metadata": {
"order_id": "2268",
"store_id": "1"
},
pi_3Kyd6h2svt92FOo90ar7QeOV
I am trying to use webhook to get ID related to the order transaction
What event are you listening to? And what to you mean by " to get ID related to the order transaction"?
Update a PaymentIntent
I'm sorry I don't understand. What exactly are you trying to achieve?
I target is to update metadata description and for this i need to retrieve the ID
So I am using PaymentIntent
Does it make sense?
So you want to update the metatada of an existing PaymentIntent? Then yes that's possible, but you need the PaymentIntent ID. So what is your question?