#jonny-elements-pci
1 messages · Page 1 of 1 (latest)
Fair enough, there is no solid library for vue 3/nuxt 3, but I'll keep trying to find a way
@high cosmos So let's say I do find a way to use Stripe Elements in my Nuxt project, my backend api will be giving me a customer ID and the client_secret. Can you tell me what you're doing with the client secret so that I can have a better grasp on what's happening behind the scenes? Also what gets returned?
Or you could let me know what endpoints are called, I've added the Stripe API to my Postman workspace so I can see exactly what is happening. I'm not just not sure what "Element" to use as far as collecting payment information but NOT charging the customer right away.
Or is it the normal payment element with an option of free? Or something?
The client secret is used to render PaymentElement and show the relevant payment methods based on the way the PaymentIntent is configured, and it's also used to confirm it
You do seem quite lost about our product offering though so you might want to start by reading https://stripe.com/docs/payments/payment-element
this supports collecting card details (and other payment method types) during a payment, or just collect payment method details for future payments. We have many end to end tutorials that explain everything
@high cosmos Not lost so much as having a hard time explaining what I need. We are using a setup intent which is how we're planning on saving the payment info. So can I still use the payment element to save the data? Again, I do not want to charge the user yet. We are using Stripe as a way to verify the user is a real person and to save the card details to use at a later time on the website. If I can achieve this with the payment element then that's all I need to know. Thanks for your help!
👋 stepping in here
Yep you can certainly do that with Payment Element. See: https://stripe.com/docs/payments/save-and-reuse for our guide on that
Thanks @quasi echo ! That's all I needed!