#AndySeigel-React

1 messages · Page 1 of 1 (latest)

unkempt saffron
#

Hey there, can you tell me more about why you want to access this data? And which pieces specifically you are interested in?

silver timber
#

Thanks @unkempt saffron and @half wolf now that you say that, your right -- I guess I dont need this info.. my head must be on backwards. I already have what they are purchasing, and an identifier or three about the person from my portion of the form separate from the paymentElement.. If I need to later on process a refund, I can do it with the Stripe dashboard, and not have to dig in my own database for card information right

unkempt saffron
#

Well you should ingest information to your database after the charge.

#

You just don't need to do this before the confirm

#

We recommend Webhooks for this

silver timber
#

I have the webhook working, but the webhook knows nothing about the item, just the purchase price and the payment method etc. I need to somehow get my app to know that the webhook belongs to a specific customer

unkempt saffron
#

Gotcha, the way to handle this is to set metadata when you create the PaymentIntent

#

That metadata will then be returned in the Webhook

silver timber
#

ooo, this sounds like exactly what I need

#

thank you!