Stripe - Payment Intent
Hello,
I am trying to use payment intent which return a client secret.
How can I get the checkout URL. When I went through their process they are suggesting to get like stripe elements to create form on front end and stuff.
but is there a way if I could just return the checkout url form the backend?
22 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Thanks for sharing this
but problem with this is I cannot send custom amount and it needs to have a product
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
so flow would like
if someone clicks "paynow" btn
then I will to a new price
which I will send to checkout session?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Thanks a lot
I think it will work
is there any downside of keep changing price
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
mainly for discount
the discount are dynamic
so making price dynamic
I though of using coupons bt it's bad for UX and I would had to create 50 of them
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
yes
I though of using coupons bt it's bad for UX and I would had to create 50 of them
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
yes 🥲
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I think the price to checkout will work as I wished
just wanted to know if there's any issue I could face in future
Any reason for that
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
let's say if someone accidentally removes it
as it is a coupon right
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Oh I had the whole thing about coupon wrong
I thought it would be like a actual coupon and people could remove/add
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Yes
Thanks 😄
I have one more question
how can I use this in such a way that
2-3 is 15
4-5 is 18 and so on
without adding each number to object
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Yes, this also works thanks a lot 😄