#antonio-giano_code

1 messages ยท Page 1 of 1 (latest)

severe cipherBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1228369376751648798

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

patent pelicanBOT
#

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.

sick steppe
#

Hello

#

If it is a PaymentIntent generated from a Subscription then the Customer object should be present

#

Do you have an example PaymentIntent ID that I can look at?

strong locust
#

Sure, on moment. I am doing the same experimentaiton

#

The paymentIntent retrieved it via the clientSecret, however

severe cipherBOT
sick steppe
#

Ah you are retrieving client-side here. In that case, we only return a subset of properties because some of the data is considered sensitive. You can see what we return client-side by looking at https://docs.stripe.com/api/payment_intents/object and what has a retrievable with publishable key label

#

That will give you the full data, including Customer ID

strong locust
#

Okay, got it. I am make this experiment

#

Given the sensitivity, can the idea of retrieving it via the back-end be considered equally harmful? Just to get an idea

dusky flax
#

๐Ÿ‘‹ Stepping in for my teammate

strong locust
#

hello

dusky flax
#

Not necessarily, since your server should be appropriately secured.

strong locust
#

Why then is it not returned via Stripe, considering that the connection between front-end and stripe is HTTPS?

dusky flax
#

It's not that the connection isn't secured, it's about who should be given access to what information. Anything sensitive should really only be retrieved/used by your server side code since only you/your app should have access to it.

strong locust
#

Okay, got it

#

Thank you very much