#Zack-payments
1 messages · Page 1 of 1 (latest)
hi there! yes, It sounds like Stripe Checkout's UI doesn't fit your needs so yes, you are going to need a backend to achieve your objective.
you're going to need to use the Stripe secret key to create a PaymentIntent and the secret key should never be exposed on your frontend application.
Is an Intent powered flow necessary ? I saw some tutorials that use the tokenized credit card directly to process payments when a customer clicks on a checkout button.
can you share the link to the tutorial?
But I think the payment is processed at the backend rather than returning a secret and calling the function on the frontend
this tutorial is slightly outdated. You would want to use PaymentIntents instead of Charges
to answer your question - you don't necessarily have to create PaymentIntents yourself. If you use Stripe Checkout, it will handle all the creation of the PaymentIntent behind the scenes for you. But there's limited changes which you can make to the Checkout page itself i.e. if you don't like how it's designed, you're going to need to go with Elements which definitely requires you to create a PaymentIntent