#hassanxelamin - payment intent

1 messages · Page 1 of 1 (latest)

vague swift
#

So your goal is to use a product and price object?

#

But it's not a subscription, just a one time payment?

distant stream
#

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?

vague swift
#

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

Build custom checkout flows and calculate tax automatically

distant stream
#

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?

vague swift
distant stream
#

okay.

#

thank you.

vague swift
#

No problem