#mlo300
1 messages · Page 1 of 1 (latest)
👋 happy to help
when you say you're using the web elements are you referring to the Stripe Payment Element?
Yes
I invite you to follow this guide:
https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
Ok but i have this and not using the product and price i have created on stripe
const paymentIntent = await stripe.paymentIntents.create({ amount: 1099, currency: 'usd', automatic_payment_methods: { enabled: true, }, });
The guide I'm sharing with you doesn't use Price/products API, did you have the chance to check it step by step
Here is another quickstart:
https://stripe.com/docs/payments/quickstart
Yes, even this guide does not talk about paying for a product linked to stripe, but uses payment intent
I'm not sure I understand you correctly.
Do you want to use Price/products API with Invoice or just PaymentIntent API ?
So stripe only has one way to charge products/prices and that is via invoice otherwise I have to use the payment intent right?
yes
differences between the two?
Product/Price and invoices provides you more details and tracking features.