#IDEAONCE
1 messages · Page 1 of 1 (latest)
Stripe Elements don't have the concept of quantity. You would only pass in the final amount. You can modify the appearance of the Payment Element : https://stripe.com/docs/elements/appearance-api
if you want to create a page that looks like the screenshot, you would have to modify the Payment Element appearance, and also build out the other non-payment method fields yourself. All the Payment Element provides is the fields to collect the card (or other payment method) details
if you want a low code option, i suggest you try https://stripe.com/docs/payments/checkout
Hi Alex, thank you for the response.
After checking several articles I found that it is not possible with element.
checkout redirects the user to some other page
I wanted to keep them on the same page
in the screenshot, they also have used stripe element, does that means they have written the custom code?
yes, if they're using stripe element, then that's custom code
yes that stripe.
Do you have any example handy for this thing?
Anything that could save me sometime.
you can take a look at https://stripe.com/docs/payments/quickstart
I will try that