#monkeyt
1 messages · Page 1 of 1 (latest)
the main thing I guess is if you visit https://stripe.com/docs/payments/accept-a-payment and swap between the tabs there's a little widget with complexity dots and other points.
Or I can try to clarify specific questions for you
Ah thanks!
Looking at the implementation of Stripe-hosted page, I notice that the API to create a checkout session requires an array of line items. I'm confused whether it's not advisable to use Stripe-hosted page in my case, where I only want to pass the final total amount to Stripe.
The reason I only want to pass the final amount is because we have some other business logics involved.
I'd always recommend using Checkout as the default option since it's so much easier. You can have a line item array of length 1
Ok thanks! I will try using Checkout with line_items.price_data