#manish_53909

1 messages · Page 1 of 1 (latest)

finite houndBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

keen monolith
#

ok

iron mauve
#

Is your webhook event related to that customer? Do you have the ID of the related events?

keen monolith
#

yes

#

so i have to retrive customer in each webhook request i got

#

hey

iron mauve
#

I'm still waiting for the event ID from you

keen monolith
#

which event id

#

"id": "evt_1OgKDdSHjS7z6PPZtBvNaDjc",

#

"id": "evt_1OgKDdSHjS7z6PPZdeRlW7Ht",

#

"id": "evt_1OgKDeSHjS7z6PPZbCz4EGHM",

iron mauve
#

OK evt_1OgKDdSHjS7z6PPZtBvNaDjc is a checkout.session.completed, and there's a customer attached to this checkout session. In your webhook handling code, you can retrieve this customer and get its metadata.

keen monolith
#

without retrieving and hitting one more api . cant i get meta data in each webhook

iron mauve
#

No, you need to retrieve the customer object.

keen monolith
#

do subscripton , invoice ,payment each have differnet metadata

iron mauve
#

These are different objects and yes you can set different metadata on them.

keen monolith
#

when i click on hosted invoice link . i there can be return uri

iron mauve
#

I don't understand your question

keen monolith
#

when there is an pending payment we get the invoice and in that invoice there is hoster uri of invoice from that we can do payment and after payment it stay on stripe page i want to redirect to my url