#nash-PaymentIntent

1 messages ยท Page 1 of 1 (latest)

polar karma
#

hello @scenic leaf! If it's just the PaymentIntent id (like what you have right now), it's fine to display it on the frontend

scenic leaf
#

nice thanks. What should not be shown in the context of payment intent?

#

Asking since you said "if it's just". ๐Ÿ™‚

polar karma
#

previously, you accidentally included the secret bit ๐Ÿ˜…. That bit shouldn't be displayed on the page

scenic leaf
#

Ah, but that (the secret) can be viewed with view source right? Since we're using it to load Elements.

polar karma
#

to clarify, i wouldn't display it like "Thanks your payment pi_secret_ id" succeeded

scenic leaf
#

ahah got it!

polar karma
#

sorry for not being clearer

scenic leaf
#

So it's fine if it's in source.

#

No worries ๐Ÿ™‚