#hassanxelamin - payment intent
1 messages · Page 1 of 1 (latest)
So your goal is to use a product and price object?
But it's not a subscription, just a one time payment?
I am creating an ecommerce clothing store. It will be one time payment. I wanted to create a custom checkout page, instead of using a Prebuilt Checkout Page, so I reached for the Payment Intents API as a solution. But upon reading the docs, I realized the Payment Intents API only solves for payment flow and does not account for line items like the Prebuilt Checkout Option does in order to notify stripe that a specific product was sold. I am looking for a way to create a custom checkout using Payment Intent API but also mark that a specific item was sold, what part of the docs should I refer to for that solution?
Ah I see. Currently there is limited ability to do what you want with a custom checkout flow. We have the Orders API, which can achieve this, but it's in a public beta: https://stripe.com/docs/orders
I really just want to add my own custom styling to the checkout page
so it can look like this instead of the default
is there no way to do that with stripe api right now except for the order beta api?
Customizing it exactly like that is unfortunately not possible. However, you can change branding up a bit: https://stripe.com/docs/payments/checkout/customization
No problem