#deeprajdevaraj-terminal

1 messages · Page 1 of 1 (latest)

scenic quail
#

hello! can you share the PaymentIntent object id?

trim sand
#

sure

#

pi_3LZnfoDXXLqevtL42HZh38gz

scenic quail
#

can you also share the request id where you updated the reader with metadata?

trim sand
#

req_eO9GrrAAh5nSgT

scenic quail
#

i don't see any metadata being passed in the request though

trim sand
#

this is the request id when I update the metadeta : req_zJECjVANDsDAJP

scenic quail
#

you expect the metadata to show on the PaymentIntent object?

trim sand
#

In payment intent object I have the meta data.

#

In my application after calling processPaymentIntent method, I get an object back (terminal.reader object), that does not contain the metadata I updated.

#

Also I am using a webhook endpoint event (terminal.reader.action_succeeded), where I want this metadata for processing

scenic quail
#

any reason why you're not using the payment_intent.succeeded event instead to process?

trim sand
#

In terminal implementation, I want to call capture method once terminal reader action succeeds

#

so when I get the event triggered from stripe, I call the capture method inside the webhook event code

scenic quail
#

alright, gimme a while to look atthis

trim sand
#

sure, thanks

scenic quail
#

sorry but can you write in to Stripe at https://support.stripe.com/contact/email - once you've done that let me know. I think it's going to take me a while to look into this. Once I have an update i'll reply via the ticket generated.

trim sand
#

sure I will do that.

#

before that a quick question

scenic quail
#

sure, what's your question?

trim sand
#

our scenario is like, we have multple clients processed in our system. So when I receive the terminal reader object inside the webhook event (terminal.reader.action_succeeded), I dont know at this time, against which site (client) i need to process this request. For this purpose I need the meta data.

scenic quail
#

i see, thanks for the context, do you have a specific question?

trim sand
#

yes. How can I set metadata against terminal reader and retrieve the same in the webhook end point event

scenic quail
#

i understand, if you write in with those details, i'll get back to you once I have an update. It's pretty unexpected that the metadata isn't being returned when you update the reader with it

trim sand
#

sure let me send the email and I will update you

trim sand
#

I send email to support

scenic quail
#

alright, i found it!

trim sand
#

great

#

so the further response will be send via email, right

scenic quail
#

yep, we'll correspond via email