#typesaltyfish
1 messages · Page 1 of 1 (latest)
Fore code/integration question, yes
I wander if there is a custom payment option with stripe api
I notice that products have to be created in stripe before my customers making any payment on my website
and my server has to send the price_key in the the request to stripe
so, is there a way that I only send the total payment amount and the card info to stripe, and let it get processed?
Which integration are you using? Checkout or PaymentElement?
Checkout
in fact, I am not using it, but I am planning to intergrate Stripe into my plateform
so, I am looking for more information to clear out my concerns
Yes, so Checkout does allow to specify price data on-the-fly, example https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout#redirect-customers
You specify price_data instead of price, which requires a pre-created id
thx a lot