#magoware_16537

1 messages · Page 1 of 1 (latest)

wind shaleBOT
midnight sphinx
#

Sorry, not understanding the question. Can you help me understand?

granite ruin
#

yes

#

i add the client_reference_id in the payment url

#

it has a value

#

and i need it back when the payment is successfull or no, regardlesst

#

in Stripe, i can see the value of it

#

but i have tested the reposne of the event in a webhook.site

#

and i dont have this variable in the response that i receive there

midnight sphinx
#

Yep, the client_reference_id value is only set on the Checkout Session object (and related events), not the Charge object

#

If you want to persist a reference from Checkout down to the underlying payment, use the payment_intent_data[metadata] parameter instead

granite ruin
#

but i need the clietn reference

midnight sphinx
#

Then you'd need to get that from the Checkout Session object using checkout.session.completed

granite ruin
#

event?

midnight sphinx
#

Yes

granite ruin
#

let em try please

#

got it

#

thank you so much

#

so, the only event that gives back thevalue is that?

#

just to have that as info

midnight sphinx
#

Correct, yes

#

As the client_reference_id field is only set on the Checkout Session object

granite ruin
#

thank you for your help!!!!

#

have a wonderfull afternoon