Hi, I have been trying to create a custom checkout page with my own payment checkout inputs (Not the Stripe popup or the stripe.js ‘stripe element’) and give the user the ability to save their card. The payment amount is derived from an API call that says the price of what they customer wants so the amount has to come from within my app and not a product I make on stripe because each payment amount is unique.
To clarify: User enters a search → API call is made that lists different prices of items → customer chooses which item (say for $213.54) → User goes to checkout page and fills out bubble style inputs (not stripes bc aesthetics) and purchases the item with the ability to save their card (through stripe not on my website)
I found this video below that explains how to charge a customer with a stripe token but it doesn’t show how to save the card with that method or how to deal with failed cards and things like that.
Is it possible to set up checkout page the way I want?
And if so is there a easy to follow guide of how to set this up?