#amix_checkout-payment-intent-switch
1 messages ยท Page 1 of 1 (latest)
๐ 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/1471560434396958885
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello ๐
Do you have a specific question about using Payment Intents instead of Checkout Sessions?
Hello there, yes!
-
At the moment I am using
stripe.redirectToCheckout()- will that have to be replaced? -
I am using webhooks to monitor the events, what will be triggered once the payment has been completed using the intents?
I am currently listening for this event type checkout.session.completed
-
Yes. Checkout Sessions and Payment Intents are different APIs entirely. I recommend starting with our canonical integration guide here: https://docs.stripe.com/payments/accept-a-payment?payment-ui=elements&api-integration=paymentintents
-
You will want to listen to
payment_intent.succeededevent https://docs.stripe.com/api/events/types?api-version=2026-01-28.preview&rds=1#event_types-payment_intent.succeeded
Where can I see the other payments methods besides card
What do you mean?
Do you want to see docs on other payment methods? Other payment methods showing up in your integration?
For that you should start reading this doc: https://docs.stripe.com/payments/payment-methods/overview
It depends on what payment methods you enable and what payment methods are valid for each payment session
But where do I retrieve the values to put in the arrays?
payment_method_types: ['bancontact', 'card', 'eps', 'ideal', 'p24', 'sepa_debit'],
I don't know what you mean
You specify them yourself or you use automatic_payment_methods: {enabled: true" and let Stripe automatically determine what payment methods should apply
Yes exactly, but how do I know the values to put
I want to specify them manually
Like how do I know if it's revolut or revolutpay or revolut_pay, is there a list?
Please review our docs thoroughly. We document the necessary values there
Don't you have a specific doc to point out
If you want to know about which payment methods you should apply to your payment intents. i recommend reading the docs about those specific payment methods. E.g. Revolut Pay: https://docs.stripe.com/payments/revolut-pay
I'm actually asking where to get the available payment methods values
Also, are payment intents valid for subscriptions?
Also, are payment intents valid for subscriptions?
Unfortunately the way that is phrased makes very little sense. If you want to offer Subscriptions using the Payment Element, as opposed to Checkout, I recommend you review our integration guide on how to do that. It's not a simple replacement.
Here is the guide for that: https://docs.stripe.com/billing/subscriptions/build-subscriptions?payment-ui=elements&api-integration=paymentintents
As for payment method type enum values: https://docs.stripe.com/api/payment_methods/object?api-version=2026-01-28.preview&rds=1&lang=curl#payment_method_object-type
That's what I was looking for, thank you very much and sorry for bothering you
Have a wonderful rest of your day !! ๐
No worries, it's why we're here ๐