| Payment Element | Checkout Session Element | |
|---|---|---|
| Based on | PaymentIntent | CheckoutSession |
| One-time payment | ✅ | ✅ |
| Subscription | ✅ | ✅ |
| Auth + Capture | ✅ | ✅ |
PaymentIntent or CheckoutSession server-side onlyclientSecret to the frontend via your own APIconfirmPayment() or actions.confirm() on form submit